makes icon indicating copy to clipboard operation
makes copied to clipboard

To-expire secret builtin

Open dsalaza4 opened this issue 3 years ago • 0 comments

Developers usually have to deal with broken jobs due to expired secrets (usually API tokens). Ideally, all tokens should be automatically rotated, but this is hard (sometimes even impossible) to do.

From Makes it would not be possible for us to support builtins for rotating tokens for X, Y and Z stacks.

I propose creating a generic builtin for tracking token expiration dates:

validateSecretExpiration = {
  integrates = {
    expirationDate = "01/08/2020";
    minimumDaysToExpire = 7; 
  };
  bugsnag = {...};
};

That way developers would be forced to rotate the token by the CI before it expires.

dsalaza4 avatar Oct 10 '22 14:10 dsalaza4