Elenca le chiavi esterne
GET/v1/organizations/external_keys
Elenca le configurazioni di chiavi esterne nell'organizzazione del chiamante.
I risultati sono ordinati per data di creazione (dalla più recente). Usa il cursore next_page della risposta per recuperare le pagine successive.
Parameters
Returns
Elenca le chiavi esterne
using System;
using Anthropic.Models.Organization.ExternalKeys;
ExternalKeyListParams parameters = new();
var page = await client.Organization.ExternalKeys.List(parameters);
await foreach (var item in page.Paginate())
{
Console.WriteLine(item);
}Response 200
{
"data": [
{
"id": "ekey_01SDCCSbTxrXDpWc1phhtcfK",
"attachment": {
"type": "attached"
},
"created_at": "2024-10-30T23:58:27.427722Z",
"display_name": "prod-us-key",
"geo": "us",
"provider_config": {
"kms_arn": "arn:aws:kms:us-east-1:111122223333:key/abcd1234-5678-90ab-cdef-000011112222",
"type": "aws",
"region": "us-east-1",
"role_arn": "arn:aws:iam::111122223333:role/anthropic-cmek"
},
"type": "external_key",
"updated_at": "2024-10-30T23:58:27.427722Z",
"user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
}
],
"next_page": "next_page"
}Returns Examples
Response 200
{
"data": [
{
"id": "ekey_01SDCCSbTxrXDpWc1phhtcfK",
"attachment": {
"type": "attached"
},
"created_at": "2024-10-30T23:58:27.427722Z",
"display_name": "prod-us-key",
"geo": "us",
"provider_config": {
"kms_arn": "arn:aws:kms:us-east-1:111122223333:key/abcd1234-5678-90ab-cdef-000011112222",
"type": "aws",
"region": "us-east-1",
"role_arn": "arn:aws:iam::111122223333:role/anthropic-cmek"
},
"type": "external_key",
"updated_at": "2024-10-30T23:58:27.427722Z",
"user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
}
],
"next_page": "next_page"
}