-
Notifications
You must be signed in to change notification settings - Fork 5.5k
EKM public facing endpoints #38258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: release-Microsoft.KeyVault-2026-01-01-preview
Are you sure you want to change the base?
EKM public facing endpoints #38258
Conversation
Next Steps to MergeNext steps that must be taken to merge this PR:
Comment generated by summarize-checks workflow run. |
API Change CheckAPIView identified API level changes in this PR and created the following API reviews
|
| /** | ||
| * The External Key Manager (EKM) Get operation returns EKM connection. This operation requires ekm/read permission. | ||
| */ | ||
| #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "Foundations.Operation is necessary for Key Vault" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For older endpoints, yes. Why can't you use them for new endpoints? While it's important to maintain consistency within a service, you weren't far off from what standard operation bases provide in terms of endpoint construction. Did you even try?
| */ | ||
| model EkmProxyInfo { | ||
| /** | ||
| * The highest supported proxy interface api version supported by the EKM proxy. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
duplicate word.. you can say "The highest version of proxy interface API supported by the EKM Proxy"
| */ | ||
| model EkmConnection { | ||
| /** | ||
| * EKM proxy FQDM (Fully Qualified Domain Name). Only allowed characters are a-z, A-Z, 0-9, hyphen (-), dot (.), and colon (:). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FQDN
| "host": "ekm-proxy.contoso.com", | ||
| "path_prefix": "/api/v1", | ||
| "server_ca_certificates": [ | ||
| "MIIDXTCCAkWgAwIBAgIJAKJ5cT5dQnCuMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNVBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQwHhcNMjQwMTAxMDAwMDAwWhcNMjUwMTAxMDAwMDAwWjBFMQswCQYDVQQGEwJBVTETMBEGA1UECAwKU29tZS1TdGF0ZTEhMB8GA1UECgwYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these valid DER format strings?
I tried wrapping them in a PEM headers (BEGIN/END CERTIFICATE), but couldn't open the resulting cer file.
| @@ -0,0 +1,19 @@ | |||
| { | |||
| "parameters": { | |||
| "vaultBaseUrl": "https://myvault.vault.azure.net/", | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use managed hsm base urls in these example files.
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "host": "ekm-proxy.contoso.com:8443", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove the port.. just to be consistent with the createekmconnection example.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have left minor feedback.
Introducing External Key manager functionality