## Uses of Class
org.apache.hadoop.security.Credentials

- Packages that use Credentials
  Package | Description
  --- | ---
  org.apache.hadoop.crypto.key.kms |
  org.apache.hadoop.security |
  org.apache.hadoop.security.token |

- - ### Uses of Credentials in org.apache.hadoop.crypto.key.kms

    Methods in org.apache.hadoop.crypto.key.kms with parameters of type Credentials
    Modifier and Type | Method and Description
    --- | ---
    `Token<? extends TokenIdentifier>` | LoadBalancingKMSClientProvider.`selectDelegationToken(Credentials creds)`

  - ### Uses of Credentials in org.apache.hadoop.security

    Methods in org.apache.hadoop.security that return Credentials
    Modifier and Type | Method and Description
    --- | ---
    `Credentials` | UserGroupInformation.`getCredentials()` Obtain the tokens in credentials form associated with this user.
    `static Credentials` | Credentials.`readTokenStorageFile(File filename, Configuration conf)` Convenience method for reading a token storage file and loading its Tokens.
    `static Credentials` | Credentials.`readTokenStorageFile(Path filename, Configuration conf)` Convenience method for reading a token storage file and loading its Tokens.

    Methods in org.apache.hadoop.security with parameters of type Credentials
    Modifier and Type | Method and Description
    --- | ---
    `void` | Credentials.`addAll(Credentials other)` Copy all of the credentials from one credential object into another.
    `void` | UserGroupInformation.`addCredentials(Credentials credentials)` Add the given Credentials to this user.
    `void` | Credentials.`mergeAll(Credentials other)` Copy all of the credentials from one credential object into another.

    Constructors in org.apache.hadoop.security with parameters of type Credentials
    Constructor and Description
    `Credentials(Credentials credentials)` Create a copy of the given credentials.

  - ### Uses of Credentials in org.apache.hadoop.security.token

    Methods in org.apache.hadoop.security.token with parameters of type Credentials
    Modifier and Type | Method and Description
    --- | ---
    `Token<?>` | DtFetcher.`addDelegationTokens(Configuration conf, Credentials creds, String renewer, String url)` Add any number of delegation tokens to Credentials object and return a token instance that is appropriate for aliasing, or null if none.
    `static void` | DtFileOperations.`doFormattedWrite(File f, String format, Credentials creds, Configuration conf)` Write out a Credentials object as a local file.
    `static void` | DtFileOperations.`printCredentials(Credentials creds, Text alias, PrintStream out)` Print out a Credentials object.

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.