Credentials
Create a credential
Changed onCreate a new credential for storing login information.
post/credentials
Request
- Base URLhttps://api.onkernel.com
- URLhttps://api.onkernel.com/credentials
- AuthHTTP bearer
Request body
Example request
{
"domain": "netflix.com",
"name": "my-netflix-login",
"sso_provider": "google",
"totp_algorithm": "SHA1",
"totp_digits": 6,
"totp_period": 30,
"totp_secret": "JBSWY3DPEHPK3PXP",
"values": {
"password": "mysecretpassword",
"username": "user@example.com"
}
}Response
Credential created successfully
Example response
{
"created_at": "2025-01-15T10:30:00Z",
"domain": "netflix.com",
"has_values": true,
"id": "cred_abc123xyz",
"name": "my-netflix-login",
"sso_provider": "google",
"totp_algorithm": "SHA1",
"totp_code": "847291",
"totp_code_expires_at": "2025-01-15T10:30:30Z",
"totp_digits": 6,
"totp_period": 30,
"updated_at": "2025-01-15T10:30:00Z",
"value_keys": [
"username",
"password"
]
}Changes
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- info
added the optional property
to the response with the status
- info