sparse-intern-71089
06/24/2020, 9:33 AMbroad-dog-22463
06/24/2020, 9:34 AMrhythmic-finland-36256
06/24/2020, 9:34 AMrhythmic-finland-36256
06/24/2020, 9:35 AMrhythmic-finland-36256
06/24/2020, 9:41 AMservicePrincipalPassword.value
(which was filled by the randomPassword.result value inside the component)broad-dog-22463
06/24/2020, 9:42 AMbroad-dog-22463
06/24/2020, 9:43 AMrhythmic-finland-36256
06/24/2020, 9:44 AMthis.randomPassword = new random.RandomPassword(`${name}-sp-random-pw`, {
// omitted
},
{
parent: this,
additionalSecretOutputs: ['result']
});
this.spPassword = new azuread.ServicePrincipalPassword(`${name}-sp-password`, {
servicePrincipalId: this.servicePrincipal.id,
// HERE ....
value: this.randomPassword.result,
endDate: "2034-01-20T00:09:00Z",
},
{parent: this});
// thats on top of the resource
public readonly spPassword: azuread.ServicePrincipalPassword;
// thats what's using the resource and exporting the value
export const acrPass = acrPushApp.spPassword.value;
rhythmic-finland-36256
06/24/2020, 9:44 AMadditionalSecretOutputs
would only kick in after the resource was created, so that this information is missing at the point when I’m handing it into the ServicePrincipalPassword
?broad-dog-22463
06/24/2020, 9:45 AMbroad-dog-22463
06/24/2020, 9:45 AMbroad-dog-22463
06/24/2020, 9:45 AMbroad-dog-22463
06/24/2020, 9:45 AMbroad-dog-22463
06/24/2020, 9:45 AMrhythmic-finland-36256
06/24/2020, 10:19 AMadditionalSecretOutputs
is on the `RandomPassword`’s result
property. This property is handed into the ServicePrincipalPassword
and the `ServicePrincipalPassword`’s value is what is accessed in the index file.rhythmic-finland-36256
06/24/2020, 10:20 AMresult
is marked correctly but adding the additionalSecretOutputs
afterwards isn’t propagated down to the ServicePrincipalPassword
resource.rhythmic-finland-36256
06/24/2020, 10:22 AMacrPass
in my stack output unencrypted.rhythmic-finland-36256
06/24/2020, 10:26 AMRandomPassword
resource is encrypted but it is not propagated to the ServicePrincipalPassword
.broad-dog-22463
06/24/2020, 11:34 AMbroad-dog-22463
06/24/2020, 11:35 AMrhythmic-finland-36256
06/24/2020, 12:33 PMrhythmic-finland-36256
06/24/2020, 12:52 PMazure.sql.SqlServer
. Am I right in assuming that this was not propagated using the additionalSecretOutputs
but rather because the SqlServer
handles it’s properties correctly, treating administratorLoginPassword
as secret on its own?rhythmic-finland-36256
06/24/2020, 12:55 PMrhythmic-finland-36256
06/24/2020, 1:06 PMadditionalSecretOutputs
to the ServicePrincipalPassword
and leave the out the rest…rhythmic-finland-36256
06/24/2020, 1:06 PM