salmon-beard-79336
09/05/2019, 11:54 AMazure:keyvault:Certificate (test):
error: Plan apply failed: grpc: error while marshaling: proto: field "google.protobuf.Value.Kind" contains invalid UTF-8
const testCertificate = new azure.keyvault.Certificate("test", {
certificatePolicy: {
issuerParameters: {
name: "Self",
},
keyProperties: {
exportable: true,
keySize: 2048,
keyType: "RSA",
reuseKey: true,
},
lifetimeActions: [{
action: {
actionType: "AutoRenew",
},
trigger: {
daysBeforeExpiry: 30,
},
}],
secretProperties: {
contentType: "application/x-pkcs12",
},
x509CertificateProperties: {
// Server Authentication = 1.3.6.1.5.5.7.3.1
// Client Authentication = 1.3.6.1.5.5.7.3.2
extendedKeyUsages: ["1.3.6.1.5.5.7.3.1"],
keyUsages: [
"cRLSign",
"dataEncipherment",
"digitalSignature",
"keyAgreement",
"keyCertSign",
"keyEncipherment",
],
subject: `CN=*.${domainName}`,
subjectAlternativeNames: {
dnsNames: [
// "<http://internal.contoso.com|internal.contoso.com>",
// "domain.hello.world",
],
},
validityInMonths: 12,
},
},
keyVaultId: keyVault.id,
name: "generated-cert",
})
tall-librarian-49374
09/05/2019, 11:58 AMsalmon-beard-79336
09/05/2019, 12:02 PM