rayvn/secrets
System keychain credential storage.
Functions
secretStore()
Store a secret in the system keychain (macOS Keychain or Linux secret-tool).
args
service (string) | Service name identifying the credential group. |
account (string) | Account name (key) within the service. |
secret (string) | Secret value to store. |
secretRetrieve()
Retrieve a secret from the system keychain for the given service and account.
args
service (string) | Service name identifying the credential group. |
account (string) | The account name (key) within the service. |
secretDelete()
Delete a secret from the system keychain.
args
service (string) | Service name identifying the credential group. |
account (string) | Account name (key) within the service. |
secretExists()
Return 0 if a secret exists in the system keychain for the given service and account.
args
service (string) | Service name used to identify the credential group. |
account (string) | Account name (key) within the service. |