Installation
npm install --save @types/vault-auth-aws
Summary
This package contains type definitions for vault-auth-aws (https://github.com/abdullahshahin/vault-auth-aws).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/vault-auth-aws.
index.d.ts
/// <reference types="node" />
declare class vaultAuthAws {
constructor(config?: vaultAuthAws.Config);
authenticate(): Promise<any>;
getOptions(creds: vaultAuthAws.Creds): vaultAuthAws.Options;
}
declare namespace vaultAuthAws {
interface Config {
ssl?: boolean | undefined;
host?: string | undefined;
port?: number | undefined;
apiVersion?: string | undefined;
vaultLoginUrl?: string | undefined;
vaultAppName?: string | undefined;
followAllRedirects?: boolean | undefined;
certFilePath?: string | undefined;
sslRejectUnAuthorized?: boolean | undefined;
}
interface Creds {
accessKeyId?: string | undefined;
secretAccessKey?: string | undefined;
sessionToken?: string | undefined;
}
interface Options {
url: string;
followAllRedirects: boolean;
body: string;
cert?: Buffer | undefined;
}
}
export = vaultAuthAws;
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: @types/node
Credits
These definitions were written by Nathan McGinn.