Create a new secret. Credentials are stored securely in 1Password.
Enter your API key as the bearer token. Set header: Authorization to Bearer <api_key>
Human-readable name for the secret.
Type of secret: 'login' for credentials, 'string' for simple values.
login, string Login username. Required for 'login' type.
Login password. Required for 'login' type.
Optional TOTP secret (base32 encoded). Only for 'login' type.
Secret value. Required for 'string' type.
Optional website URL for context.
Successful response
Unique identifier for the secret.
Human-readable name for the secret.
Type of secret: 'login' or 'string'.
login, string Optional website URL.
Whether the secret has a TOTP configured (only applicable for login type).
Timestamp when the secret was created.
Timestamp when the secret was last updated.