0.1.3 • Published 6 months ago

@types/vault-auth-aws v0.1.3

Weekly downloads
1,200
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for vault-auth-aws 0.1
// Project: https://github.com/abdullahshahin/vault-auth-aws
// Definitions by: Nathan McGinn <https://github.com/nmcginn>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.7
/// <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: Fri, 02 Jul 2021 18:05:01 GMT
  • Dependencies: @types/node
  • Global values: none

Credits

These definitions were written by Nathan McGinn.

0.1.2

7 months ago

0.1.3

6 months ago

0.1.1

3 years ago

0.1.0

4 years ago