api_key.proto
path mgmt/v1alpha1/api_key.proto
package mgmt.v1alpha1
Messages
AccountApiKey
Name | Type | Description |
---|---|---|
id | string | |
name | string | The friendly name of the API Key |
account_id | string | |
created_by_id | string | |
created_at | google.protobuf.Timestamp | |
updated_by_id | string | |
updated_at | google.protobuf.Timestamp | |
key_value | optional string | key_value is only returned on initial creation or when it is regenerated |
user_id | string | |
expires_at | google.protobuf.Timestamp | The timestamp of what the API key expires and will not longer be usable. |
CreateAccountApiKeyRequest
Name | Type | Description |
---|---|---|
account_id | string | |
name | string | |
expires_at | google.protobuf.Timestamp | Validate between now and one year: now < x < 365 days |
CreateAccountApiKeyResponse
Name | Type | Description |
---|---|---|
api_key | AccountApiKey |