Class KmsDecryptionHelper

Utility for decrypting GameOn API key

Hierarchy

  • KmsDecryptionHelper

Index

Methods

Methods

Static getSecrets

  • getSecrets(encryptedFileUrl: string, kmsRegion: string, forceUpdate?: boolean): Promise<any>
  • Retrieves previously decrypted payload, if cached. Otherwise, makes a call to KMS for decryption

    Parameters

    • encryptedFileUrl: string
    • kmsRegion: string
    • Default value forceUpdate: boolean = false

    Returns Promise<any>

    Decrypted object containing GameOn API key

Brought to you with ❤ by the Alexa Games team at Amazon. © 2019, Amazon.com, Inc. or its affiliates. All Rights Reserved.