chore(targets): remove deprecated credential libraries on target resources (#1533)
This commit is contained in:
1 parent
b5a4dd0b44
commit
68eb6e2bed
26 files changed
+1138
-3499
No files matched your search
@@ -71,19 +71,9 @@ func TestTargets(t *testing.T) {
|
||||
HostCatalogId: "host-catalog-id",
|
||||
},
|
||||
},
|
||||
SessionMaxSeconds: &wrapperspb.UInt32Value{Value: 0},
|
||||
SessionConnectionLimit: &wrapperspb.Int32Value{Value: 0},
|
||||
WorkerFilter: &wrapperspb.StringValue{Value: "worker-filter"},
|
||||
ApplicationCredentialLibraryIds: []string{"application-credential-library-id"},
|
||||
ApplicationCredentialLibraries: []*pb.CredentialLibrary{
|
||||
{
|
||||
Id: "id",
|
||||
Name: "name",
|
||||
Description: "description",
|
||||
CredentialStoreId: "credential-store-id",
|
||||
Type: "type",
|
||||
},
|
||||
},
|
||||
SessionMaxSeconds: &wrapperspb.UInt32Value{Value: 0},
|
||||
SessionConnectionLimit: &wrapperspb.Int32Value{Value: 0},
|
||||
WorkerFilter: &wrapperspb.StringValue{Value: "worker-filter"},
|
||||
ApplicationCredentialSourceIds: []string{"application-credential-source-id"},
|
||||
ApplicationCredentialSources: []*pb.CredentialSource{
|
||||
{
|
||||
@@ -151,19 +141,9 @@ func TestTargets(t *testing.T) {
|
||||
HostCatalogId: "host-catalog-id",
|
||||
},
|
||||
},
|
||||
SessionMaxSeconds: &wrapperspb.UInt32Value{Value: 0},
|
||||
SessionConnectionLimit: &wrapperspb.Int32Value{Value: 0},
|
||||
WorkerFilter: &wrapperspb.StringValue{Value: "worker-filter"},
|
||||
ApplicationCredentialLibraryIds: []string{"application-credential-library-id"},
|
||||
ApplicationCredentialLibraries: []*pb.CredentialLibrary{
|
||||
{
|
||||
Id: "id",
|
||||
Name: "name",
|
||||
Description: "description",
|
||||
CredentialStoreId: "credential-store-id",
|
||||
Type: "type",
|
||||
},
|
||||
},
|
||||
SessionMaxSeconds: &wrapperspb.UInt32Value{Value: 0},
|
||||
SessionConnectionLimit: &wrapperspb.Int32Value{Value: 0},
|
||||
WorkerFilter: &wrapperspb.StringValue{Value: "worker-filter"},
|
||||
ApplicationCredentialSourceIds: []string{"application-credential-source-id"},
|
||||
ApplicationCredentialSources: []*pb.CredentialSource{
|
||||
{
|
||||
@@ -253,13 +233,6 @@ func TestTargets(t *testing.T) {
|
||||
Type: "type",
|
||||
CredentialType: "credential-type",
|
||||
},
|
||||
CredentialLibrary: &pb.CredentialLibrary{
|
||||
Id: "id",
|
||||
Name: "name",
|
||||
Description: "description",
|
||||
CredentialStoreId: "credential-store-id",
|
||||
Type: "type",
|
||||
},
|
||||
Secret: &pb.SessionSecret{
|
||||
Raw: "raw-secrets",
|
||||
Decoded: &structpb.Struct{
|
||||
@@ -309,13 +282,6 @@ func TestTargets(t *testing.T) {
|
||||
Type: "type",
|
||||
CredentialType: "credential-type",
|
||||
},
|
||||
CredentialLibrary: &pb.CredentialLibrary{
|
||||
Id: "id",
|
||||
Name: "name",
|
||||
Description: "description",
|
||||
CredentialStoreId: "credential-store-id",
|
||||
Type: "type",
|
||||
},
|
||||
Secret: &pb.SessionSecret{
|
||||
Raw: encrypt.RedactedData,
|
||||
Decoded: &structpb.Struct{
|
||||
|
||||
Reference in new issue
Block a user