@types/vault-auth-aws
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/vault-auth-aws

Weekly Downloads

1,236

Version

0.1.3

License

MIT

Unpacked Size

4.63 kB

Total Files

5

Last publish

Collaborators

  • types