GetClientSecret retrieves a tenant's client secret from the system keyring.
(tenant string)
| 26 | |
| 27 | // GetClientSecret retrieves a tenant's client secret from the system keyring. |
| 28 | func GetClientSecret(tenant string) (string, error) { |
| 29 | return keyring.Get(secretClientSecret, tenant) |
| 30 | } |
| 31 | |
| 32 | // DeleteSecretsForTenant deletes all secrets for a given tenant. |
| 33 | func DeleteSecretsForTenant(tenant string) error { |