/dports/devel/aws-sdk-cpp/aws-sdk-cpp-1.9.129/aws-cpp-sdk-identity-management-tests/auth/ |
H A D | STSAssumeRoleCredentialsProviderTest.cpp | 78 stsClient->MockAssumeRole(assumeRoleResult); in TEST() 88 auto request = stsClient->CapturedRequest(); in TEST() 89 ASSERT_EQ(1, stsClient->CalledCount()); in TEST() 101 ASSERT_EQ(1, stsClient->CalledCount()); in TEST() 130 ASSERT_EQ(1, stsClient->CalledCount()); in TEST() 148 request = stsClient->CapturedRequest(); in TEST() 156 ASSERT_EQ(2, stsClient->CalledCount()); in TEST() 167 stsClient->MockAssumeRole(error); in TEST() 176 ASSERT_EQ(1, stsClient->CalledCount()); in TEST() 196 request = stsClient->CapturedRequest(); in TEST() [all …]
|
H A D | STSProfileCredentialsProviderTest.cpp | 145 Aws::UniquePtr<MockSTSClient> stsClient; in TEST_F() local 153 return stsClient.get(); in TEST_F() 218 Aws::UniquePtr<MockSTSClient> stsClient; in TEST_F() local 230 return stsClient.get(); in TEST_F() 271 Aws::UniquePtr<MockSTSClient> stsClient; in TEST_F() local 279 return stsClient.get(); in TEST_F() 359 return stsClient.get(); in TEST_F() 472 return stsClient.get(); in TEST_F() 477 ASSERT_NE(nullptr, stsClient); in TEST_F() 520 return stsClient.get(); in TEST_F() [all …]
|
/dports/net/bosh-bootloader/bosh-bootloader-7.2.12/vendor/github.com/genevieve/leftovers/aws/ec2/ |
H A D | images.go | 17 type stsClient interface { interface 23 stsClient stsClient member 28 func NewImages(client imagesClient, stsClient stsClient, logger logger, resourceTags resourceTags) … argument 31 stsClient: stsClient, 38 caller, err := i.stsClient.GetCallerIdentity(&awssts.GetCallerIdentityInput{})
|
H A D | snapshots.go | 20 stsClient stsClient member 24 func NewSnapshots(client snapshotsClient, stsClient stsClient, logger logger) Snapshots { argument 27 stsClient: stsClient, 33 caller, err := s.stsClient.GetCallerIdentity(&awssts.GetCallerIdentityInput{})
|
H A D | snapshots_test.go | 18 stsClient *fakes.StsClient 26 stsClient = &fakes.StsClient{} 30 snapshots = ec2.NewSnapshots(client, stsClient, logger) 43 stsClient.GetCallerIdentityCall.Returns.Output = &awssts.GetCallerIdentityOutput{ 52 Expect(stsClient.GetCallerIdentityCall.CallCount).To(Equal(1)) 68 stsClient.GetCallerIdentityCall.Returns.Error = errors.New("some error")
|
H A D | images_test.go | 18 stsClient *fakes.StsClient 27 stsClient = &fakes.StsClient{} 32 images = ec2.NewImages(client, stsClient, logger, resourceTags) 42 stsClient.GetCallerIdentityCall.Returns.Output = &awssts.GetCallerIdentityOutput{ 74 stsClient.GetCallerIdentityCall.Returns.Error = errors.New("some error")
|
/dports/security/vault/vault-1.8.2/builtin/logical/aws/ |
H A D | backend.go | 76 stsClient stsiface.STSAPI member 101 b.stsClient = nil 135 if b.stsClient != nil { 137 return b.stsClient, nil 147 if b.stsClient != nil { 148 return b.stsClient, nil 151 stsClient, err := nonCachedClientSTS(ctx, s, b.Logger()) 155 b.stsClient = stsClient 157 return b.stsClient, nil
|
/dports/sysutils/helmfile/vault-f6547fa8e820/builtin/logical/aws/ |
H A D | backend.go | 70 stsClient stsiface.STSAPI member 114 if b.stsClient != nil { 116 return b.stsClient, nil 126 if b.stsClient != nil { 127 return b.stsClient, nil 130 stsClient, err := nonCachedClientSTS(ctx, s) 134 b.stsClient = stsClient 136 return b.stsClient, nil
|
/dports/misc/concourse/vault-bdd38fca2cff/builtin/logical/aws/ |
H A D | backend.go | 70 stsClient stsiface.STSAPI member 114 if b.stsClient != nil { 116 return b.stsClient, nil 126 if b.stsClient != nil { 127 return b.stsClient, nil 130 stsClient, err := nonCachedClientSTS(ctx, s) 134 b.stsClient = stsClient 136 return b.stsClient, nil
|
/dports/sysutils/gomplate/gomplate-3.9.0/vendor/github.com/hashicorp/vault/builtin/logical/aws/ |
H A D | backend.go | 70 stsClient stsiface.STSAPI member 114 if b.stsClient != nil { 116 return b.stsClient, nil 126 if b.stsClient != nil { 127 return b.stsClient, nil 130 stsClient, err := nonCachedClientSTS(ctx, s) 134 b.stsClient = stsClient 136 return b.stsClient, nil
|
H A D | secret_access_keys.go | 71 stsClient, err := b.clientSTS(ctx, s) 78 tokenResp, err := stsClient.GetFederationToken( 116 stsClient, err := b.clientSTS(ctx, s) 131 tokenResp, err := stsClient.AssumeRole(assumeRoleInput)
|
/dports/sysutils/helmfile/helmfile-0.138.7/vendor/github.com/hashicorp/vault/builtin/logical/aws/ |
H A D | backend.go | 70 stsClient stsiface.STSAPI member 114 if b.stsClient != nil { 116 return b.stsClient, nil 126 if b.stsClient != nil { 127 return b.stsClient, nil 130 stsClient, err := nonCachedClientSTS(ctx, s) 134 b.stsClient = stsClient 136 return b.stsClient, nil
|
/dports/misc/concourse/concourse-6.7.2/vendor/github.com/hashicorp/vault/builtin/logical/aws/ |
H A D | backend.go | 70 stsClient stsiface.STSAPI member 114 if b.stsClient != nil { 116 return b.stsClient, nil 126 if b.stsClient != nil { 127 return b.stsClient, nil 130 stsClient, err := nonCachedClientSTS(ctx, s) 134 b.stsClient = stsClient 136 return b.stsClient, nil
|
/dports/sysutils/gomplate/vault-sdk-v0.1.13/builtin/logical/aws/ |
H A D | backend.go | 70 stsClient stsiface.STSAPI member 114 if b.stsClient != nil { 116 return b.stsClient, nil 126 if b.stsClient != nil { 127 return b.stsClient, nil 130 stsClient, err := nonCachedClientSTS(ctx, s) 134 b.stsClient = stsClient 136 return b.stsClient, nil
|
/dports/devel/gitlab-runner/gitlab-runner-8925d9a06fd8e452e2161a768462652a2a13111f/vendor/github.com/hashicorp/vault/vault-api-v1.0.4/builtin/logical/aws/ |
H A D | backend.go | 70 stsClient stsiface.STSAPI member 114 if b.stsClient != nil { 116 return b.stsClient, nil 126 if b.stsClient != nil { 127 return b.stsClient, nil 130 stsClient, err := nonCachedClientSTS(ctx, s) 134 b.stsClient = stsClient 136 return b.stsClient, nil
|
/dports/devel/gitlab-runner/vault-sdk-v0.1.13/builtin/logical/aws/ |
H A D | backend.go | 70 stsClient stsiface.STSAPI member 114 if b.stsClient != nil { 116 return b.stsClient, nil 126 if b.stsClient != nil { 127 return b.stsClient, nil 130 stsClient, err := nonCachedClientSTS(ctx, s) 134 b.stsClient = stsClient 136 return b.stsClient, nil
|
/dports/sysutils/istio/vault-sdk-v0.1.12/builtin/logical/aws/ |
H A D | backend.go | 70 stsClient stsiface.STSAPI member 114 if b.stsClient != nil { 116 return b.stsClient, nil 126 if b.stsClient != nil { 127 return b.stsClient, nil 130 stsClient, err := nonCachedClientSTS(ctx, s) 134 b.stsClient = stsClient 136 return b.stsClient, nil
|
/dports/sysutils/istio/istio-1.6.7/vendor/github.com/hashicorp/vault/builtin/logical/aws/ |
H A D | backend.go | 70 stsClient stsiface.STSAPI member 114 if b.stsClient != nil { 116 return b.stsClient, nil 126 if b.stsClient != nil { 127 return b.stsClient, nil 130 stsClient, err := nonCachedClientSTS(ctx, s) 134 b.stsClient = stsClient 136 return b.stsClient, nil
|
/dports/sysutils/kubectl/kubernetes-1.22.2/test/integration/statefulset/ |
H A D | util.go | 222 stsClient := clientSet.AppsV1().StatefulSets(sts.Namespace) 225 newSTS, err := stsClient.Get(context.TODO(), sts.Name, metav1.GetOptions{}) 280 func updateSTS(t *testing.T, stsClient typedappsv1.StatefulSetInterface, stsName string, updateFunc… 283 newSTS, err := stsClient.Get(context.TODO(), stsName, metav1.GetOptions{}) 288 sts, err = stsClient.Update(context.TODO(), newSTS, metav1.UpdateOptions{}) 298 stsClient := c.AppsV1().StatefulSets(sts.Namespace) 300 newSTS, err := stsClient.Get(context.TODO(), sts.Name, metav1.GetOptions{}) 305 sts, err = stsClient.Update(context.TODO(), newSTS, metav1.UpdateOptions{})
|
H A D | statefulset_test.go | 99 …stsClient := c.Resource(appsv1.SchemeGroupVersion.WithResource("statefulsets")).Namespace("default… 102 persistedSTS, err := stsClient.Create(context.TODO(), sts, metav1.CreateOptions{}) 116 _, err = stsClient.Update(context.TODO(), persistedSTS, metav1.UpdateOptions{}) 143 stsClient := c.AppsV1().StatefulSets(ns.Name) 145 newSTS := updateSTS(t, stsClient, sts.Name, func(sts *appsv1.StatefulSet) { 155 newSTS, err := stsClient.Get(context.TODO(), sts.Name, metav1.GetOptions{}) 301 stsClient := c.AppsV1().StatefulSets(ns.Name) 303 newSts, err := stsClient.Get(context.TODO(), sts.Name, metav1.GetOptions{})
|
/dports/devel/aws-sdk-php/aws-sdk-php74-3.185.15/Aws/Credentials/ |
H A D | CredentialProvider.php | 441 $stsClient = isset($config['stsClient']) 456 'client' => $stsClient, 485 'client' => $stsClient, 529 $stsClient = isset($config['stsClient']) ? $config['stsClient'] : null; 568 $stsClient, 686 $stsClient, argument 727 if (empty($stsClient)) { 743 $stsClient = new StsClient([ 750 $result = $stsClient->assumeRole([ 755 $credentials = $stsClient->createCredentials($result);
|
/dports/www/nextcloud/nextcloud/3rdparty/aws/aws-sdk-php/src/Credentials/ |
H A D | CredentialProvider.php | 441 $stsClient = isset($config['stsClient']) 456 'client' => $stsClient, 485 'client' => $stsClient, 529 $stsClient = isset($config['stsClient']) ? $config['stsClient'] : null; 568 $stsClient, 686 $stsClient, argument 727 if (empty($stsClient)) { 743 $stsClient = new StsClient([ 750 $result = $stsClient->assumeRole([ 755 $credentials = $stsClient->createCredentials($result);
|
/dports/sysutils/docker-registry/distribution-2.7.1/vendor/github.com/denverdino/aliyungo/aliyungo-a747050bb1ba/sts/ |
H A D | get_caller_identity_test.go | 7 stsClient := NewTestClient() 8 resp, err := stsClient.GetCallerIdentity()
|
/dports/devel/aws-sdk-cpp/aws-sdk-cpp-1.9.129/aws-cpp-sdk-identity-management/source/auth/ |
H A D | STSAssumeRoleCredentialsProvider.cpp | 24 …ws::String& externalId, int loadFrequency, const std::shared_ptr<Aws::STS::STSClient>& stsClient) : in STSAssumeRoleCredentialsProvider() argument 25 … m_stsClient(stsClient == nullptr ? Aws::MakeShared<Aws::STS::STSClient>(CLASS_TAG) : stsClient), in STSAssumeRoleCredentialsProvider()
|
/dports/sysutils/terraform/terraform-1.0.11/vendor/github.com/hashicorp/aws-sdk-go-base/ |
H A D | session.go | 156 stsClient := sts.New(sess) 159 accountID, partition, err := GetAccountIDAndPartitionFromSTSGetCallerIdentity(stsClient) 175 …accountID, partition, err := GetAccountIDAndPartition(iamClient, stsClient, credentialsProviderNam…
|