Method
Creates a secret which can be accessed in functions and notebooks.
| REQUIRED |
KEY |
TYPE |
DESCRIPTION |
| Yes |
secretKey |
str |
The secret key.
|
| Yes |
value |
str |
The secret value.
|
| No |
secretType |
OrganizationSecretType |
The type of secret. Use OrganizationSecretType enum values.
|
| No |
metadata |
dict |
Additional metadata for the secret.
|
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.
| KEY |
TYPE |
DESCRIPTION |
| success |
Boolean |
true if the call succeeded, false if there was an error |
| result |
OrganizationSecret |
| KEY |
TYPE |
Description |
| secretKey |
str |
The key of the secret |
| value |
str |
The value of the secret |
| createdAt |
str |
The date and time when the secret was created, in ISO-8601 format. |
|