mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-31 18:48:08 +00:00 
			
		
		
		
	Add additional config keys for swift (#4901)
* Add additional config keys for swift * Add additional swift config keys in the doc page
This commit is contained in:
		 Md. Nure Alam Nahid
					Md. Nure Alam Nahid
				
			
				
					committed by
					
						 Brian Kassouf
						Brian Kassouf
					
				
			
			
				
	
			
			
			 Brian Kassouf
						Brian Kassouf
					
				
			
						parent
						
							ff8becca15
						
					
				
				
					commit
					cf587cf525
				
			| @@ -25,6 +25,8 @@ func TestSwiftBackend(t *testing.T) { | ||||
| 	project := os.Getenv("OS_PROJECT_NAME") | ||||
| 	domain := os.Getenv("OS_USER_DOMAIN_NAME") | ||||
| 	projectDomain := os.Getenv("OS_PROJECT_DOMAIN_NAME") | ||||
| 	region := os.Getenv("OS_REGION_NAME") | ||||
| 	tenantID := os.Getenv("OS_TENANT_ID") | ||||
|  | ||||
| 	ts := time.Now().UnixNano() | ||||
| 	container := fmt.Sprintf("vault-test-%d", ts) | ||||
| @@ -36,6 +38,8 @@ func TestSwiftBackend(t *testing.T) { | ||||
| 		AuthUrl:      authUrl, | ||||
| 		Tenant:       project, | ||||
| 		TenantDomain: projectDomain, | ||||
| 		Region:       region, | ||||
| 		TenantId:     tenantID, | ||||
| 		Transport:    cleanhttp.DefaultPooledTransport(), | ||||
| 	} | ||||
|  | ||||
| @@ -75,6 +79,8 @@ func TestSwiftBackend(t *testing.T) { | ||||
| 		"project":        project, | ||||
| 		"domain":         domain, | ||||
| 		"project-domain": projectDomain, | ||||
| 		"tenant_id":      tenantID, | ||||
| 		"region":         region, | ||||
| 	}, logger) | ||||
| 	if err != nil { | ||||
| 		t.Fatalf("err: %s", err) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user