mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-17 14:40:39 +00:00
feat(cli): gateway auth methods
This commit is contained in:
@@ -54,6 +54,10 @@ func NewGateway(identityToken string) (Gateway, error) {
|
||||
}, nil
|
||||
}
|
||||
|
||||
func (g *Gateway) UpdateIdentityAccessToken(accessToken string) {
|
||||
g.httpClient.SetAuthToken(accessToken)
|
||||
}
|
||||
|
||||
func (g *Gateway) ConnectWithRelay() error {
|
||||
relayDetails, err := api.CallRegisterGatewayIdentityV1(g.httpClient)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user