28 lines
745 B
TypeScript
28 lines
745 B
TypeScript
|
import * as plugins from './plugins.js';
|
||
|
import type { CloudlyApiClient } from './classes.cloudlyapiclient.js';
|
||
|
|
||
|
import { SecretBundle } from './classes.secretbundle.js';
|
||
|
import { SecretGroup } from './classes.secretgroup.js';
|
||
|
|
||
|
export class SecretManager {
|
||
|
// INSTANCE
|
||
|
cloudlyClientRef: CloudlyApiClient;
|
||
|
|
||
|
constructor(cloudlyClientRef: CloudlyApiClient) {
|
||
|
this.cloudlyClientRef = cloudlyClientRef;
|
||
|
}
|
||
|
|
||
|
public async getSecretGroupsAndBundles() {
|
||
|
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* The secret group has a secret bundle.
|
||
|
* This function essentially returns the secret bundle as a flat object.
|
||
|
* In other words, it resolves secret groups and
|
||
|
*/
|
||
|
public async getSecretBundleAsFlatObject(environmentArg: string = 'production') {
|
||
|
|
||
|
}
|
||
|
}
|