List all the public keys for a service account
GET /organizations/{organization_id}/serviceaccounts/{serviceaccount_id}/publickeys
Lists all public keys for the specified service account.
Parameters
Name | Type | In | Required | Description |
---|---|---|---|---|
organization_id |
string |
path |
True |
ID of the organization.
|
serviceaccount_id |
string |
path |
True |
ID of the service account.
|
Response
Status: 200, List of all public keys for the service account.
Name | Type | Required | Description |
---|---|---|---|
items |
True |
Example response
{
"items": [
{
"audience": "https://netapp-cloud-account.auth0.com/",
"credentialId": "cred_fh4agpsm4BphW5QZiYhHR8",
"expirationTimestamp": "2026-06-24T16:25:08Z",
"fingerprint": "33:0E:66:6A:D0:89:EA:78:10:7D:5A:35:FF:C5:51:E9:3A:CB:47:A8",
"id": "4336388b-2992-43af-81de-ba9284b7dc36",
"keyType": "RSA_KEY",
"metadata": {
"createdBy": "666a3f38-d4fa-5b62-a391-a69029758d32",
"creationTimestamp": "2022-10-06T20:58:16.305662Z",
"labels": [
{
"name": "string",
"value": "string"
}
],
"modificationTimestamp": "2022-10-06T20:58:16.305662Z",
"modifiedBy": "666a3f38-d4fa-5b62-a391-a69029758d32"
},
"state": "ENABLED",
"type": "application/vnd.netapp.bxp.publickey",
"version": "1.0"
}
]
}
Definitions
See Definitions
type_bxp_label
Name/value pair.
Name | Type | Required | Description |
---|---|---|---|
name |
string |
True |
Name of the label. |
value |
string |
True |
Value of the label. |
type_bxp_metadata
Metadata associated with the resource.
Name | Type | Required | Description |
---|---|---|---|
createdBy |
string |
False |
UUID of the user who created the resource. |
creationTimestamp |
string |
False |
Resource creation date. |
labels |
array[type_bxp_label] |
False |
Array of name/value pairs representing additional information for the resource. |
modificationTimestamp |
string |
False |
Resource modification date. |
modifiedBy |
string |
False |
UUID of the user who modified the resource. |
user_1.0_public_key_get_response_body
Name | Type | Required | Description |
---|---|---|---|
audience |
string |
False |
The value that must be included in the 'audience' claim of the private key JWT token. |
credentialId |
string |
False |
The Auth0 credential ID associated with the public key. |
expirationTimestamp |
string |
False |
The date and time when the public key expires. |
fingerprint |
string |
False |
The SHA-1 fingerprint of the public X.509 certificate or RSA key that was provided for the public key. |
id |
string |
True |
Globally unique identifier of the resource conforming to the UUIDv4 schema. |
keyType |
string |
False |
Type of the public key. Defined values are:
|
metadata |
False |
Metadata associated with the resource. |
|
state |
string |
False |
The state of the public key. Defined values are:
|
type |
string |
True |
Media type of the resource. Defined values are:
|
version |
string |
True |
Version of the resource. Defined values are:
|