Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
Removing old invalid providers related to instance profiles: these we…
Browse files Browse the repository at this point in the history
…re always buggy and took weird sequences of steps to get working (#28)
  • Loading branch information
tlisonbee authored Oct 23, 2017
1 parent 52f0c2c commit 3d494e8
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 231 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
package com.nike.cerberus.client.auth;

import com.nike.cerberus.client.DefaultCerberusUrlResolver;
import com.nike.cerberus.client.auth.aws.InstanceProfileArnVaultCredentialsProvider;
import com.nike.cerberus.client.auth.aws.InstanceProfileVaultCredentialsProvider;
import com.nike.cerberus.client.auth.aws.InstanceRoleVaultCredentialsProvider;
import com.nike.vault.client.UrlResolver;
import com.nike.vault.client.auth.VaultCredentialsProviderChain;
Expand Down Expand Up @@ -53,8 +51,6 @@ public DefaultCerberusCredentialsProviderChain() {
public DefaultCerberusCredentialsProviderChain(UrlResolver urlResolver) {
super(new EnvironmentCerberusCredentialsProvider(),
new SystemPropertyCerberusCredentialsProvider(),
new InstanceProfileVaultCredentialsProvider(urlResolver),
new InstanceProfileArnVaultCredentialsProvider(urlResolver),
new InstanceRoleVaultCredentialsProvider(urlResolver));
}

Expand All @@ -76,8 +72,6 @@ public DefaultCerberusCredentialsProviderChain(String xCerberusClientOverride) {
public DefaultCerberusCredentialsProviderChain(UrlResolver urlResolver, String xCerberusClientOverride) {
super(new EnvironmentCerberusCredentialsProvider(),
new SystemPropertyCerberusCredentialsProvider(),
new InstanceProfileVaultCredentialsProvider(urlResolver, xCerberusClientOverride),
new InstanceProfileArnVaultCredentialsProvider(urlResolver, xCerberusClientOverride),
new InstanceRoleVaultCredentialsProvider(urlResolver, xCerberusClientOverride));
}
}

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 3d494e8

Please sign in to comment.