upsertBuildSecret method
Future<void>
upsertBuildSecret({
- required String secretKey,
- required String secretValue,
- required BuildSecretType buildSecretType,
- required String cloudCapsuleId,
Upserts a build secret for a cloud capsule. Build secrets are used during the build process. They are not accessible at runtime.
Secret value changes are applied at the next deployment.
Throws NotFoundException if the capsule is not found. Throws InvalidValueException if secret names are invalid.
Implementation
_i2.Future<void> upsertBuildSecret({
required String secretKey,
required String secretValue,
required _i36.BuildSecretType buildSecretType,
required String cloudCapsuleId,
}) => caller.callServerEndpoint<void>('secrets', 'upsertBuildSecret', {
'secretKey': secretKey,
'secretValue': secretValue,
'buildSecretType': buildSecretType,
'cloudCapsuleId': cloudCapsuleId,
});