Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/w/8.4/improvement/VLTCLT-51/getO…
Browse files Browse the repository at this point in the history
…rCreateEncryptionKeyId' into w/8.5/improvement/VLTCLT-51/getOrCreateEncryptionKeyId
  • Loading branch information
nicolas2bert committed Oct 1, 2024
2 parents 0b806eb + b6e2adb commit e288b1c
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 14 deletions.
17 changes: 16 additions & 1 deletion lib/IAMClient.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ declare class VaultClient {
setCustomEndpointForSignature(host: any, path: any): void;
_host: any;
__path: any;
enableIAMOnAdminRoutes(): this;
enableIAMOnAdminRoutes(): VaultClient;
/**
* Set the configuration for the werelogs logger
* @param {object} config - A configuration object for werelogs
Expand Down Expand Up @@ -362,6 +362,21 @@ declare class VaultClient {
reqUid: string;
logger?: werelogs.RequestLogger;
}, callback: Function): undefined;
/**
* Retrieves the default encryption key id for the given account's canonical id,
* or creates one if it does not exist.
*
* @param {String} canonicalId - The canonical id of the account.
* @param {Object} options - Additional arguments.
* @param {string} options.reqUid - The request UID.
* @param {Function} callback
* - `error` (Error|null) - error object if the operation failed, otherwise null.
* - `result` (Object) - result object on success, containing raw response data and HTTP status code.
* @returns {void}
*/
getOrCreateEncryptionKeyId(canonicalId: string, options: {
reqUid: string;
}, callback: Function): void;
healthcheck(reqUid: any, callback: any): void;
report(reqUid: any, callback: any): void;
_signRequest(iamAuthenticate: any, req: any, options: any, path: any): Promise<void>;
Expand Down
2 changes: 1 addition & 1 deletion lib/IAMClient.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions lib/constants.d.ts
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
export const httpClientFreeSocketTimeout: 55000;
export namespace InternalError {
let code: number;
let description: string;
let InternalError: boolean;
const code: number;
const description: string;
const InternalError: boolean;
}
export namespace InvalidParameterValue {
let code_1: number;
const code_1: number;
export { code_1 as code };
let description_1: string;
const description_1: string;
export { description_1 as description };
export let InvalidParameterValue: boolean;
export const InvalidParameterValue: boolean;
}
export namespace Forbidden {
let code_2: number;
const code_2: number;
export { code_2 as code };
let description_2: string;
const description_2: string;
export { description_2 as description };
export let Forbidden: boolean;
export const Forbidden: boolean;
}
export namespace WrongFormat {
let code_3: number;
const code_3: number;
export { code_3 as code };
let description_3: string;
const description_3: string;
export { description_3 as description };
export let WrongFormat: boolean;
export const WrongFormat: boolean;
}
//# sourceMappingURL=constants.d.ts.map

0 comments on commit e288b1c

Please sign in to comment.