package providers
import "github.com/open-policy-agent/opa/internal/providers"
Index ¶
- func AWSSignV4(headers map[string][]string, method string, theURL *url.URL, body []byte, service string, awsCreds AWSCredentials, theTime time.Time) map[string][]string
- type AWSCredentials
Functions ¶
func AWSSignV4 ¶
func AWSSignV4(headers map[string][]string, method string, theURL *url.URL, body []byte, service string, awsCreds AWSCredentials, theTime time.Time) map[string][]string
AWSSignV4 modifies a map[string][]string of headers to include an AWS V4 signature based on the config/credentials provided.
Types ¶
type AWSCredentials ¶
type AWSCredentials struct { AccessKey string SecretKey string RegionName string SessionToken string }
func AWSCredentialsFromObject ¶
func AWSCredentialsFromObject(v ast.Object) AWSCredentials
Source Files ¶
- Version
- v0.47.1
- Published
- Dec 7, 2022
- Platform
- js/wasm
- Imports
- 8 packages
- Last checked
- 4 hours ago –
Tools for package owners.