mirror of
				https://github.com/hiskang/acme.sh
				synced 2025-10-31 02:17:18 +00:00 
			
		
		
		
	Support OVH credentials scoped to a specific zone
When creating OVH API credentials, one can scope them to a specific subset of routes. Specifically, this allows to limit acme.sh to a specific zone as the zone is part of the URL. This is an important security/safety net feature.
This commit is contained in:
		
							parent
							
								
									ed3dda7da9
								
							
						
					
					
						commit
						486e77f474
					
				| @ -238,7 +238,7 @@ _get_root() { | |||||||
|       return 1 |       return 1 | ||||||
|     fi |     fi | ||||||
| 
 | 
 | ||||||
|     if ! _contains "$response" "This service does not exist" >/dev/null; then |     if ! _contains "$response" "This service does not exist" >/dev/null && ! _contains "$response" "NOT_GRANTED_CALL" >/dev/null; then | ||||||
|       _sub_domain=$(printf "%s" "$domain" | cut -d . -f 1-$p) |       _sub_domain=$(printf "%s" "$domain" | cut -d . -f 1-$p) | ||||||
|       _domain="$h" |       _domain="$h" | ||||||
|       return 0 |       return 0 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user