git-off

git off handles large files in git repos
git clone https://noulin.net/git/git-off.git
Log | Files | Refs | README

temporary_credentials.d.ts (948B)


      1 import {Credentials} from '../credentials';
      2 import {AWSError} from '../error';
      3 import STS = require('../../clients/sts');
      4 export class TemporaryCredentials extends Credentials {
      5     /**
      6      * Creates a new temporary credentials object.
      7      * @param {string} filename - a map of options that are passed to the AWS.STS.assumeRole() or AWS.STS.getSessionToken() operations. If a RoleArn parameter is passed in, credentials will be based on the IAM role.
      8      */
      9     constructor(options?: STS.Types.AssumeRoleRequest|STS.Types.GetSessionTokenRequest);
     10     /**
     11      * Refreshes credentials using AWS.STS.assumeRole() or AWS.STS.getSessionToken(), depending on whether an IAM role ARN was passed to the credentials constructor().
     12      */
     13     refresh(callback: (err: AWSError) => void): void;
     14 
     15     /**
     16      * The master (non-temporary) credentials used to get and refresh temporary credentials from AWS STS.
     17      */
     18     masterCredentials: Credentials
     19 }