Address PR comments for Azure Client Secret Rotation

This commit is contained in:
carlosmonastyrski
2025-04-30 13:56:01 -03:00
parent 98bb5d7aa7
commit cf84dde0fa
6 changed files with 20 additions and 40 deletions
@@ -153,12 +153,8 @@ export const azureClientSecretRotationFactory: TRotationFactory<
* Maps the generated credentials into the secret payload format.
*/
const getSecretsPayload: TRotationFactoryGetSecretsPayload<TAzureClientSecretRotationGeneratedCredentials> = ({
clientSecret,
clientId
}) => [
{ key: secretsMapping.clientSecret, value: clientSecret },
{ key: secretsMapping.clientId, value: clientId }
];
clientSecret
}) => [{ key: secretsMapping.clientSecret, value: clientSecret }];
return {
issueCredentials,