fix(secretmanagement): Refactor secret bundle actions and improve authorization handling

This commit is contained in:
2024-12-28 19:50:29 +01:00
parent e19d0b4deb
commit dbd9b661c6
9 changed files with 99 additions and 57 deletions

View File

@ -1,6 +0,0 @@
export interface IEnvBundle {
environment: string;
timeSensitive: boolean;
configKeyValueObject: {[key: string]: string};
}

View File

@ -3,7 +3,6 @@ export * from './cluster.js';
export * from './config.js';
export * from './deployment.js';
export * from './docker.js';
export * from './env.js';
export * from './event.js';
export * from './image.js';
export * from './secretbundle.js';

View File

@ -45,9 +45,11 @@ export interface ISecretBundle {
/**
* authrozations select a specific environment of a config bundle
*/
authorizations: Array<{
secretAccessKey: string;
environment: string;
}>;
authorizations: Array<ISecretBundleAuthorization>;
};
}
export interface ISecretBundleAuthorization {
secretAccessKey: string;
environment: string;
}