Example usage for org.springframework.vault.authentication AwsEc2AuthenticationOptions DEFAULT

List of usage examples for org.springframework.vault.authentication AwsEc2AuthenticationOptions DEFAULT

Introduction

In this page you can find the example usage for org.springframework.vault.authentication AwsEc2AuthenticationOptions DEFAULT.

Prototype

AwsEc2AuthenticationOptions DEFAULT

To view the source code for org.springframework.vault.authentication AwsEc2AuthenticationOptions DEFAULT.

Click Source Link

Document

Default AwsEc2AuthenticationOptions using #DEFAULT_AWS_AUTHENTICATION_PATH and #DEFAULT_PKCS7_IDENTITY_DOCUMENT_URI .

Usage

From source file:org.springframework.vault.authentication.AwsEc2Authentication.java

/**
 * Creates a new {@link AwsEc2Authentication}.
 * //from  w w w.j  a  v a2  s.c  o m
 * @param vaultClient must not be {@literal null}.
 */
public AwsEc2Authentication(VaultClient vaultClient) {
    this(AwsEc2AuthenticationOptions.DEFAULT, vaultClient, vaultClient.getRestTemplate());
}