You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3ee373e
Browse filesBrowse the repository at this point in the historyBrowse files
## Summary
Add organization external-key registration and validation for AWS, GCP
and Azure.
## Changes
- Create, retrieve, list, delete and validate organization external-key
registrations.
- Filter external-key listings by purpose and paginate through results.
description: Usage details for web search requests that ran while generating the response.
110800
+
AwsExternalKeyParams:
110801
+
properties:
110802
+
name:
110803
+
type: string
110804
+
description: A friendly name to identify this config
110805
+
type:
110806
+
type: string
110807
+
enum:
110808
+
- aws
110809
+
default: aws
110810
+
x-stainless-const: true
110811
+
role_arn:
110812
+
type: string
110813
+
pattern: ^arn:aws:iam::\d{12}:role/.+$
110814
+
description: The Role ARN that OpenAI will assume to call your KMS
110815
+
kms_arn:
110816
+
type: string
110817
+
description: The Key Management System ARN for the master key you manage
110818
+
external_id:
110819
+
type: string
110820
+
description: The ExternalID that OpenAI will pass in the AssumeRole call for the customer's AWS account. This must be the OpenAI organization ID or an API project ID that belongs to the organization.
110821
+
purpose:
110822
+
$ref: '#/components/schemas/ExternalKeyPurpose'
110823
+
type: object
110824
+
required:
110825
+
- name
110826
+
- type
110827
+
- role_arn
110828
+
- kms_arn
110829
+
- external_id
110830
+
AzureExternalKeyParams:
110831
+
properties:
110832
+
name:
110833
+
type: string
110834
+
description: A friendly name to identify this config
description: The URI of the Azure vault containing the master key you manage
110849
+
key_name:
110850
+
type: string
110851
+
maxLength: 127
110852
+
pattern: ^org-[0-9a-zA-Z-]*--[0-9a-zA-Z-]*$
110853
+
description: The name of the Azure Key Vault master key that you manage
110854
+
purpose:
110855
+
$ref: '#/components/schemas/ExternalKeyPurpose'
110856
+
key_version:
110857
+
type: string
110858
+
pattern: ^[0-9a-fA-F]{32}$
110859
+
description: An exact Azure Key Vault key version. Required for PSP decryption; not accepted for EKM.
110860
+
type: object
110861
+
required:
110862
+
- name
110863
+
- type
110864
+
- tenant_id
110865
+
- vault_uri
110866
+
- key_name
110867
+
ExternalKeyPurpose:
110868
+
type: string
110869
+
enum:
110870
+
- ekm
110871
+
- psp_decryption
110872
+
ExternalKeyResource:
110873
+
properties:
110874
+
object:
110875
+
type: string
110876
+
id:
110877
+
type: string
110878
+
type:
110879
+
type: string
110880
+
purpose:
110881
+
$ref: '#/components/schemas/ExternalKeyPurpose'
110882
+
name:
110883
+
type: string
110884
+
api_project_ids:
110885
+
items:
110886
+
type: string
110887
+
type: array
110888
+
workspace_id:
110889
+
type: string
110890
+
created_at:
110891
+
type: integer
110892
+
role_arn:
110893
+
type: string
110894
+
external_id:
110895
+
type: string
110896
+
kms_arn:
110897
+
type: string
110898
+
workload_identity_project_number:
110899
+
type: string
110900
+
workload_identity_pool_id:
110901
+
type: string
110902
+
workload_identity_provider_id:
110903
+
type: string
110904
+
audience:
110905
+
type: string
110906
+
kms_project_id:
110907
+
type: string
110908
+
kms_key_ring_name:
110909
+
type: string
110910
+
kms_key_name:
110911
+
type: string
110912
+
kms_key_location:
110913
+
type: string
110914
+
kms_key_version:
110915
+
type: string
110916
+
tenant_id:
110917
+
type: string
110918
+
vault_uri:
110919
+
type: string
110920
+
key_name:
110921
+
type: string
110922
+
key_version:
110923
+
type: string
110924
+
type: object
110925
+
required:
110926
+
- object
110927
+
- id
110928
+
- type
110929
+
- name
110930
+
- api_project_ids
110931
+
- workspace_id
110932
+
- created_at
110933
+
GcpExternalKeyParams:
110934
+
properties:
110935
+
name:
110936
+
type: string
110937
+
description: A friendly name to identify this config
110938
+
type:
110939
+
type: string
110940
+
enum:
110941
+
- gcp
110942
+
default: gcp
110943
+
x-stainless-const: true
110944
+
workload_identity_project_number:
110945
+
type: string
110946
+
pattern: ^[0-9]{1,19}$
110947
+
description: The numeric GCP project number where you registered OpenAI's workload identity
110948
+
workload_identity_pool_id:
110949
+
type: string
110950
+
description: The pool containing the Workload Identity provider that you registered for OpenAI
110951
+
workload_identity_provider_id:
110952
+
type: string
110953
+
description: The Workload Identity provider that you registered for OpenAI
110954
+
kms_project_id:
110955
+
type: string
110956
+
description: The string GCP project name where your KMS resides
110957
+
kms_key_ring_name:
110958
+
type: string
110959
+
description: The Key Management System key ring for the master key you manage
110960
+
kms_key_name:
110961
+
type: string
110962
+
description: The name of the Key Management System master key you manage
110963
+
kms_key_location:
110964
+
type: string
110965
+
description: The region where your Key Management System master key is located
110966
+
audience:
110967
+
type: string
110968
+
description: The aud field in the identity token OpenAI will pass in the call to the customer's GCP STS. This must be the OpenAI organization ID or an API project ID that belongs to the organization.
110969
+
purpose:
110970
+
$ref: '#/components/schemas/ExternalKeyPurpose'
110971
+
kms_key_version:
110972
+
type: string
110973
+
pattern: ^[1-9][0-9]*$
110974
+
description: An exact CryptoKeyVersion number. Required for PSP decryption; not accepted for EKM.
0 commit comments