Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aidansteele/openrolesanywhere
/ functions
Functions
35 in github.com/aidansteele/openrolesanywhere
⨍
Functions
35
◇
Types & classes
12
↓ 7 callers
Function
appDir
()
cmd/openrolesanywhere/main.go:126
↓ 3 callers
Method
Public
()
signer.go:12
↓ 3 callers
Method
Sign
(rand io.Reader, undigestedMessage []byte)
signer.go:13
↓ 3 callers
Function
makeHash
(hash hash.Hash, b []byte)
v4.go:264
↓ 2 callers
Function
New
(ctx context.Context, api *kms.Client, keyId string)
kmssigner/kmssigner.go:27
↓ 2 callers
Function
addX509NameFlags
(f *pflag.FlagSet)
cmd/openrolesanywhere/main.go:168
↓ 2 callers
Function
getX509Name
(f *pflag.FlagSet)
cmd/openrolesanywhere/main.go:180
↓ 2 callers
Function
signerFromFingerprint
(fingerprint string)
cmd/openrolesanywhere/main.go:141
↓ 2 callers
Function
signingAlgorithm
this file is basically lifted from https://github.com/aws/aws-sdk-go-v2/blob/main/aws/signer/v4/v4.go and butchered to support only the AWS4-X509-* si
v4.go:24
↓ 1 callers
Method
Build
()
v4.go:71
↓ 1 callers
Function
CreateSession
(ctx context.Context, client *http.Client, input *CreateSessionInput)
create_session.go:49
↓ 1 callers
Function
CreateSessionRequest
(ctx context.Context, input *CreateSessionInput)
create_session.go:17
↓ 1 callers
Function
NewSignerFromSshSigner
(in ssh.AlgorithmSigner)
ssh_signer.go:12
↓ 1 callers
Function
SignHTTP
(certificate *x509.Certificate, signer Signer, r *http.Request, payloadHash, service, region string, signingTi
v4.go:35
↓ 1 callers
Function
acceptRequest
(ctx context.Context, requestFile string, duration time.Duration, subject pkix.Name)
cmd/openrolesanywhere/accept_request.go:21
↓ 1 callers
Function
buildAuthorizationHeader
(certificate *x509.Certificate, credentialStr, signedHeadersStr, signingSignature string)
v4.go:237
↓ 1 callers
Method
buildCanonicalHeaders
(host string, header http.Header, length int64)
v4.go:141
↓ 1 callers
Method
buildCanonicalString
(method, uri, query, signedHeaders, canonicalHeaders string)
v4.go:208
↓ 1 callers
Method
buildCredentialScope
()
v4.go:132
↓ 1 callers
Method
buildSignature
(strToSign string)
v4.go:228
↓ 1 callers
Method
buildStringToSign
(credentialScope, canonicalRequestString string)
v4.go:219
↓ 1 callers
Function
createCA
(ctx context.Context, name, keyId string, subject pkix.Name, duration time.Duration)
cmd/openrolesanywhere/create_ca.go:23
↓ 1 callers
Function
createProfile
(ctx context.Context, name string, roleArns []string, duration time.Duration)
cmd/openrolesanywhere/create_profile.go:15
↓ 1 callers
Function
credentialProcess
(ctx context.Context, name, roleArn string, duration time.Duration)
cmd/openrolesanywhere/credential_process.go:17
↓ 1 callers
Function
getURIPath
(u *url.URL)
v4.go:270
↓ 1 callers
Function
requestCertificate
(ctx context.Context, fingerprint string)
cmd/openrolesanywhere/request_certificate.go:10
↓ 1 callers
Method
setRequiredSigningFields
(headers http.Header)
v4.go:125
Function
NewSignerFromCryptoSigner
(in crypto.Signer)
crypto_signer.go:9
Method
Public
()
crypto_signer.go:22
Method
Public
()
ssh_signer.go:58
Method
Public
()
kmssigner/kmssigner.go:41
Method
Sign
(rand io.Reader, message []byte)
crypto_signer.go:17
Method
Sign
(rand io.Reader, message []byte)
ssh_signer.go:20
Method
Sign
(rand io.Reader, digest []byte, opts crypto.SignerOpts)
kmssigner/kmssigner.go:45
Function
main
()
cmd/openrolesanywhere/main.go:19