Skip to content

Commit 8e961bc

Browse files
ci(prod): Release OpenAPI Spec V1 🚀. See https://github.com/mongodb/openapi/actions/runs/17328660840.
1 parent 9f4e817 commit 8e961bc

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

openapi/v1-deprecated/v1.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8243,6 +8243,17 @@
82438243
},
82448244
"propertyName": "providerName"
82458245
},
8246+
"oneOf": [
8247+
{
8248+
"$ref": "#/components/schemas/CloudProviderAccessAWSIAMRole"
8249+
},
8250+
{
8251+
"$ref": "#/components/schemas/CloudProviderAccessAzureServicePrincipal"
8252+
},
8253+
{
8254+
"$ref": "#/components/schemas/CloudProviderAccessGCPServiceAccount"
8255+
}
8256+
],
82468257
"properties": {
82478258
"providerName": {
82488259
"description": "Human-readable label that identifies the cloud provider of the role.",
@@ -50050,7 +50061,7 @@
5005050061
}
5005150062
}
5005250063
},
50053-
"description": "Required parameters depend on whether someone has enabled Encryption at Rest using Customer Key Management:\n\nIf you have enabled Encryption at Rest using Customer Key Management (CMK), Atlas requires all of the parameters for the desired encryption provider.\n\n- To use AWS Key Management Service (KMS), MongoDB Cloud requires all the fields in the **awsKms** object.\n- To use Azure Key Vault, MongoDB Cloud requires all the fields in the **azureKeyVault** object.\n- To use Google Cloud Key Management Service (KMS), MongoDB Cloud requires all the fields in the **googleCloudKms** object.\n\nIf you enabled Encryption at Rest using Customer Key Management, administrators can pass only the changed fields for the **awsKms**, **azureKeyVault**, or **googleCloudKms** object to update the configuration to this endpoint.",
50064+
"description": "Required parameters depend on whether someone has enabled Encryption at Rest using Customer Key Management:\n\nIf you have enabled Encryption at Rest using Customer Key Management (CMK), Atlas requires all of the parameters for the desired encryption provider.\n\n- To use AWS Key Management Service (KMS), MongoDB Cloud requires all the fields in the **awsKms** object.\n- To use Azure Key Vault, MongoDB Cloud requires all the fields in the **azureKeyVault** object.\n- To use Google Cloud Key Management Service (KMS), MongoDB Cloud requires all the fields in the **googleCloudKms** object For authentication, you must provide either serviceAccountKey (static credentials) or roleId (service-account–based authentication) Once roleId is configured, serviceAccountKey is no longer supported.\n\n If you enabled Encryption at Rest using Customer Key Management, administrators can pass only the changed fields for the **awsKms**, **azureKeyVault**, or **googleCloudKms** object to update the configuration to this endpoint.",
5005450065
"required": true
5005550066
},
5005650067
"responses": {

openapi/v1-deprecated/v1.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8968,6 +8968,17 @@
89688968
},
89698969
"propertyName": "providerName"
89708970
},
8971+
"oneOf": [
8972+
{
8973+
"$ref": "#/components/schemas/CloudProviderAccessAWSIAMRole"
8974+
},
8975+
{
8976+
"$ref": "#/components/schemas/CloudProviderAccessAzureServicePrincipal"
8977+
},
8978+
{
8979+
"$ref": "#/components/schemas/CloudProviderAccessGCPServiceAccount"
8980+
}
8981+
],
89718982
"properties": {
89728983
"providerName": {
89738984
"description": "Human-readable label that identifies the cloud provider of the role.",
@@ -54303,7 +54314,7 @@
5430354314
}
5430454315
}
5430554316
},
54306-
"description": "Required parameters depend on whether someone has enabled Encryption at Rest using Customer Key Management:\n\nIf you have enabled Encryption at Rest using Customer Key Management (CMK), Atlas requires all of the parameters for the desired encryption provider.\n\n- To use AWS Key Management Service (KMS), MongoDB Cloud requires all the fields in the **awsKms** object.\n- To use Azure Key Vault, MongoDB Cloud requires all the fields in the **azureKeyVault** object.\n- To use Google Cloud Key Management Service (KMS), MongoDB Cloud requires all the fields in the **googleCloudKms** object.\n\nIf you enabled Encryption at Rest using Customer Key Management, administrators can pass only the changed fields for the **awsKms**, **azureKeyVault**, or **googleCloudKms** object to update the configuration to this endpoint.",
54317+
"description": "Required parameters depend on whether someone has enabled Encryption at Rest using Customer Key Management:\n\nIf you have enabled Encryption at Rest using Customer Key Management (CMK), Atlas requires all of the parameters for the desired encryption provider.\n\n- To use AWS Key Management Service (KMS), MongoDB Cloud requires all the fields in the **awsKms** object.\n- To use Azure Key Vault, MongoDB Cloud requires all the fields in the **azureKeyVault** object.\n- To use Google Cloud Key Management Service (KMS), MongoDB Cloud requires all the fields in the **googleCloudKms** object For authentication, you must provide either serviceAccountKey (static credentials) or roleId (service-account–based authentication) Once roleId is configured, serviceAccountKey is no longer supported.\n\n If you enabled Encryption at Rest using Customer Key Management, administrators can pass only the changed fields for the **awsKms**, **azureKeyVault**, or **googleCloudKms** object to update the configuration to this endpoint.",
5430754318
"required": true
5430854319
},
5430954320
"responses": {

0 commit comments

Comments
 (0)