# `GSEndpoint writeSecrets`

*Instance Method*

Writes the password to the Keychain. Returns `NO` if accessing the Keychain failed, otherwise `YES`.

## Declaration

```swift
func writeSecrets()
```

```objc
- (void) writeSecrets;
```

```python
writeSecrets()
```

