Private key secret mutable
[ZITADOPER-1]
This commit is contained in:
@@ -247,7 +247,7 @@ func (wr *wrappedAPIAppReconciler) reconcileKeys(ctx context.Context, ztdClient
|
||||
"appId": []byte(jsonKey.AppID),
|
||||
"key": []byte(jsonKey.Key),
|
||||
}
|
||||
secret, err := wr.Builder.BuildSecret(builder.SecretOpts{Immutable: true, Zitadel: nil, Key: key, Data: secretData}, wr.APIApp)
|
||||
secret, err := wr.Builder.BuildSecret(builder.SecretOpts{Immutable: false, Zitadel: nil, Key: key, Data: secretData}, wr.APIApp)
|
||||
if err != nil {
|
||||
return fmt.Errorf("error building Secret: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user