Skip to content

Commit

Permalink
Fix secret source url format (#29475)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenglongLiu authored Jun 22, 2024
1 parent 8dd3c52 commit a83c343
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"profileName": "profile1",
"validateSecretInput": {
"secretSource": {
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.KeyVault/vault/kvName/certificate/certName"
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.KeyVault/vaults/kvName/certificate/certName"
},
"secretType": "CustomerCertificate"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"type": "CustomerCertificate",
"secretVersion": "abcdef1234578900abcdef1234567890",
"secretSource": {
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.KeyVault/vault/kvName/secrets/certificatename"
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.KeyVault/vaults/kvName/secrets/certificatename"
},
"useLatestVersion": false
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"type": "MtlsCertificateChain",
"secretVersion": "abcdef1234578900abcdef1234567890",
"secretSource": {
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.KeyVault/vault/kvName/secrets/mTLSCertificateChainname"
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.KeyVault/vaults/kvName/secrets/mTLSCertificateChainname"
}
}
}
Expand All @@ -28,7 +28,7 @@
"type": "MtlsCertificateChain",
"secretVersion": "abcdef1234578900abcdef1234567890",
"secretSource": {
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.KeyVault/vault/kvName/secrets/mTLSCertificateChainName"
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.KeyVault/vaults/kvName/secrets/mTLSCertificateChainName"
},
"expirationDate": "2025-01-01T00:00:00-00:00"
},
Expand All @@ -47,7 +47,7 @@
"type": "MtlsCertificateChain",
"secretVersion": "abcdef1234578900abcdef1234567890",
"secretSource": {
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.KeyVault/vault/kvName/secrets/mTLSCertificateChainName"
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.KeyVault/vaults/kvName/secrets/mTLSCertificateChainName"
},
"expirationDate": "2025-01-01T00:00:00-00:00"
},
Expand All @@ -66,7 +66,7 @@
"type": "MtlsCertificateChain",
"secretVersion": "abcdef1234578900abcdef1234567890",
"secretSource": {
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.KeyVault/vault/kvName/secrets/mTLSCertificateChainName"
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.KeyVault/vaults/kvName/secrets/mTLSCertificateChainName"
},
"expirationDate": "2025-01-01T00:00:00-00:00"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"type": "UrlSigningKey",
"secretVersion": "abcdef1234578900abcdef1234567890",
"secretSource": {
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.KeyVault/vault/kvName/secrets/urlsigningkeyname"
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.KeyVault/vaults/kvName/secrets/urlsigningkeyname"
},
"keyId": "customKeyId"
}
Expand All @@ -29,7 +29,7 @@
"type": "UrlSigningKey",
"secretVersion": "abcdef1234578900abcdef1234567890",
"secretSource": {
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.KeyVault/vault/kvName/secrets/urlsigningkeyname"
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.KeyVault/vaults/kvName/secrets/urlsigningkeyname"
},
"keyId": "customKeyId"
},
Expand All @@ -48,7 +48,7 @@
"type": "UrlSigningKey",
"secretVersion": "abcdef1234578900abcdef1234567890",
"secretSource": {
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.KeyVault/vault/kvName/secrets/urlsigningkeyname"
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.KeyVault/vaults/kvName/secrets/urlsigningkeyname"
},
"keyId": "customKeyId"
},
Expand All @@ -67,7 +67,7 @@
"type": "UrlSigningKey",
"secretVersion": "abcdef1234578900abcdef1234567890",
"secretSource": {
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.KeyVault/vault/kvName/secrets/urlsigningkeyname"
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.KeyVault/vaults/kvName/secrets/urlsigningkeyname"
},
"keyId": "customKeyId"
},
Expand Down

0 comments on commit a83c343

Please sign in to comment.