Documentation ¶
Overview ¶
Package okta terraform configuration for an okta site
Index ¶
- func Provider() terraform.ResourceProvider
- type ApiSupplement
- func (m *ApiSupplement) ActivateAuthorizationServer(id string) (*okta.Response, error)
- func (m *ApiSupplement) CreateAuthorizationServer(body AuthorizationServer, qp *query.Params) (*AuthorizationServer, *okta.Response, error)
- func (m *ApiSupplement) CreateAuthorizationServerClaim(authServerId string, body AuthorizationServerClaim, qp *query.Params) (*AuthorizationServerClaim, *okta.Response, error)
- func (m *ApiSupplement) CreateAuthorizationServerPolicy(authServerId string, body AuthorizationServerPolicy, qp *query.Params) (*AuthorizationServerPolicy, *okta.Response, error)
- func (m *ApiSupplement) CreateAuthorizationServerPolicyRule(authServerId, policyId string, body AuthorizationServerPolicyRule, ...) (*AuthorizationServerPolicyRule, *okta.Response, error)
- func (m *ApiSupplement) CreateAuthorizationServerScope(authServerId string, body AuthorizationServerScope, qp *query.Params) (*AuthorizationServerScope, *okta.Response, error)
- func (m *ApiSupplement) DeactivateAuthorizationServer(id string) (*okta.Response, error)
- func (m *ApiSupplement) DeleteAuthorizationServer(id string) (*okta.Response, error)
- func (m *ApiSupplement) DeleteAuthorizationServerClaim(authServerId, id string) (*okta.Response, error)
- func (m *ApiSupplement) DeleteAuthorizationServerPolicy(authServerId, id string) (*okta.Response, error)
- func (m *ApiSupplement) DeleteAuthorizationServerPolicyRule(authServerId, policyId, id string) (*okta.Response, error)
- func (m *ApiSupplement) DeleteAuthorizationServerScope(authServerId, id string) (*okta.Response, error)
- func (c *ApiSupplement) FilterAuthServers(qp *query.Params, arr []*AuthorizationServer, compare func(string) bool) ([]*AuthorizationServer, error)
- func (c *ApiSupplement) FindAuthServer(name string, qp *query.Params) (*AuthorizationServer, error)
- func (m *ApiSupplement) GetAuthorizationServer(id string) (*AuthorizationServer, *okta.Response, error)
- func (m *ApiSupplement) GetAuthorizationServerClaim(authServerId, id string, authorizationServerInstance AuthorizationServerClaim) (*AuthorizationServerClaim, *okta.Response, error)
- func (m *ApiSupplement) GetAuthorizationServerPolicy(authServerId, id string, authorizationServerInstance AuthorizationServerPolicy) (*AuthorizationServerPolicy, *okta.Response, error)
- func (m *ApiSupplement) GetAuthorizationServerPolicyRule(authServerId, policyId, id string, ...) (*AuthorizationServerPolicyRule, *okta.Response, error)
- func (m *ApiSupplement) GetAuthorizationServerScope(authServerId, id string, authorizationServerInstance AuthorizationServerScope) (*AuthorizationServerScope, *okta.Response, error)
- func (m *ApiSupplement) ListAuthorizationServerClaims(authServerId string) ([]*AuthorizationServerClaim, *okta.Response, error)
- func (m *ApiSupplement) ListAuthorizationServerPolicies(authServerId string) ([]*AuthorizationServerPolicy, *okta.Response, error)
- func (m *ApiSupplement) ListAuthorizationServerPolicyRules(authServerId, policyId string) ([]*AuthorizationServerPolicyRule, *okta.Response, error)
- func (m *ApiSupplement) ListAuthorizationServerScopes(authServerId string) ([]*AuthorizationServerScope, *okta.Response, error)
- func (m *ApiSupplement) ListAuthorizationServers() ([]*AuthorizationServer, *okta.Response, error)
- func (m *ApiSupplement) UpdateAuthorizationServer(id string, body AuthorizationServer, qp *query.Params) (*AuthorizationServer, *okta.Response, error)
- func (m *ApiSupplement) UpdateAuthorizationServerClaim(authServerId, id string, body AuthorizationServerClaim, qp *query.Params) (*AuthorizationServerClaim, *okta.Response, error)
- func (m *ApiSupplement) UpdateAuthorizationServerPolicy(authServerId, id string, body AuthorizationServerPolicy, qp *query.Params) (*AuthorizationServerPolicy, *okta.Response, error)
- func (m *ApiSupplement) UpdateAuthorizationServerPolicyRule(authServerId, policyId, id string, body AuthorizationServerPolicyRule, ...) (*AuthorizationServerPolicyRule, *okta.Response, error)
- func (m *ApiSupplement) UpdateAuthorizationServerScope(authServerId, id string, body AuthorizationServerScope, qp *query.Params) (*AuthorizationServerScope, *okta.Response, error)
- type AuthServerCredentials
- type AuthorizationServer
- type AuthorizationServerClaim
- type AuthorizationServerPolicy
- type AuthorizationServerPolicyRule
- type AuthorizationServerScope
- type CheckUpstream
- type ClaimConditions
- type Config
- type PolicyConditions
- type PolicyRuleActions
- type PolicyRuleConditions
- type TokenActions
- type Whitelist
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Provider ¶
func Provider() terraform.ResourceProvider
Provider establishes a client connection to an okta site determined by its schema string values
Types ¶
type ApiSupplement ¶
type ApiSupplement struct {
// contains filtered or unexported fields
}
ApiSupplement not all APIs are supported by okta-sdk-golang, this will act as a supplement to the Okta SDK
func (*ApiSupplement) ActivateAuthorizationServer ¶
func (m *ApiSupplement) ActivateAuthorizationServer(id string) (*okta.Response, error)
func (*ApiSupplement) CreateAuthorizationServer ¶
func (m *ApiSupplement) CreateAuthorizationServer(body AuthorizationServer, qp *query.Params) (*AuthorizationServer, *okta.Response, error)
func (*ApiSupplement) CreateAuthorizationServerClaim ¶
func (m *ApiSupplement) CreateAuthorizationServerClaim(authServerId string, body AuthorizationServerClaim, qp *query.Params) (*AuthorizationServerClaim, *okta.Response, error)
func (*ApiSupplement) CreateAuthorizationServerPolicy ¶
func (m *ApiSupplement) CreateAuthorizationServerPolicy(authServerId string, body AuthorizationServerPolicy, qp *query.Params) (*AuthorizationServerPolicy, *okta.Response, error)
func (*ApiSupplement) CreateAuthorizationServerPolicyRule ¶
func (m *ApiSupplement) CreateAuthorizationServerPolicyRule(authServerId, policyId string, body AuthorizationServerPolicyRule, qp *query.Params) (*AuthorizationServerPolicyRule, *okta.Response, error)
func (*ApiSupplement) CreateAuthorizationServerScope ¶
func (m *ApiSupplement) CreateAuthorizationServerScope(authServerId string, body AuthorizationServerScope, qp *query.Params) (*AuthorizationServerScope, *okta.Response, error)
func (*ApiSupplement) DeactivateAuthorizationServer ¶
func (m *ApiSupplement) DeactivateAuthorizationServer(id string) (*okta.Response, error)
func (*ApiSupplement) DeleteAuthorizationServer ¶
func (m *ApiSupplement) DeleteAuthorizationServer(id string) (*okta.Response, error)
func (*ApiSupplement) DeleteAuthorizationServerClaim ¶
func (m *ApiSupplement) DeleteAuthorizationServerClaim(authServerId, id string) (*okta.Response, error)
func (*ApiSupplement) DeleteAuthorizationServerPolicy ¶
func (m *ApiSupplement) DeleteAuthorizationServerPolicy(authServerId, id string) (*okta.Response, error)
func (*ApiSupplement) DeleteAuthorizationServerPolicyRule ¶
func (m *ApiSupplement) DeleteAuthorizationServerPolicyRule(authServerId, policyId, id string) (*okta.Response, error)
func (*ApiSupplement) DeleteAuthorizationServerScope ¶
func (m *ApiSupplement) DeleteAuthorizationServerScope(authServerId, id string) (*okta.Response, error)
func (*ApiSupplement) FilterAuthServers ¶
func (c *ApiSupplement) FilterAuthServers(qp *query.Params, arr []*AuthorizationServer, compare func(string) bool) ([]*AuthorizationServer, error)
func (*ApiSupplement) FindAuthServer ¶
func (c *ApiSupplement) FindAuthServer(name string, qp *query.Params) (*AuthorizationServer, error)
func (*ApiSupplement) GetAuthorizationServer ¶
func (m *ApiSupplement) GetAuthorizationServer(id string) (*AuthorizationServer, *okta.Response, error)
func (*ApiSupplement) GetAuthorizationServerClaim ¶
func (m *ApiSupplement) GetAuthorizationServerClaim(authServerId, id string, authorizationServerInstance AuthorizationServerClaim) (*AuthorizationServerClaim, *okta.Response, error)
func (*ApiSupplement) GetAuthorizationServerPolicy ¶
func (m *ApiSupplement) GetAuthorizationServerPolicy(authServerId, id string, authorizationServerInstance AuthorizationServerPolicy) (*AuthorizationServerPolicy, *okta.Response, error)
func (*ApiSupplement) GetAuthorizationServerPolicyRule ¶
func (m *ApiSupplement) GetAuthorizationServerPolicyRule(authServerId, policyId, id string, authorizationServerInstance AuthorizationServerPolicyRule) (*AuthorizationServerPolicyRule, *okta.Response, error)
func (*ApiSupplement) GetAuthorizationServerScope ¶
func (m *ApiSupplement) GetAuthorizationServerScope(authServerId, id string, authorizationServerInstance AuthorizationServerScope) (*AuthorizationServerScope, *okta.Response, error)
func (*ApiSupplement) ListAuthorizationServerClaims ¶
func (m *ApiSupplement) ListAuthorizationServerClaims(authServerId string) ([]*AuthorizationServerClaim, *okta.Response, error)
func (*ApiSupplement) ListAuthorizationServerPolicies ¶
func (m *ApiSupplement) ListAuthorizationServerPolicies(authServerId string) ([]*AuthorizationServerPolicy, *okta.Response, error)
func (*ApiSupplement) ListAuthorizationServerPolicyRules ¶
func (m *ApiSupplement) ListAuthorizationServerPolicyRules(authServerId, policyId string) ([]*AuthorizationServerPolicyRule, *okta.Response, error)
func (*ApiSupplement) ListAuthorizationServerScopes ¶
func (m *ApiSupplement) ListAuthorizationServerScopes(authServerId string) ([]*AuthorizationServerScope, *okta.Response, error)
func (*ApiSupplement) ListAuthorizationServers ¶
func (m *ApiSupplement) ListAuthorizationServers() ([]*AuthorizationServer, *okta.Response, error)
func (*ApiSupplement) UpdateAuthorizationServer ¶
func (m *ApiSupplement) UpdateAuthorizationServer(id string, body AuthorizationServer, qp *query.Params) (*AuthorizationServer, *okta.Response, error)
func (*ApiSupplement) UpdateAuthorizationServerClaim ¶
func (m *ApiSupplement) UpdateAuthorizationServerClaim(authServerId, id string, body AuthorizationServerClaim, qp *query.Params) (*AuthorizationServerClaim, *okta.Response, error)
func (*ApiSupplement) UpdateAuthorizationServerPolicy ¶
func (m *ApiSupplement) UpdateAuthorizationServerPolicy(authServerId, id string, body AuthorizationServerPolicy, qp *query.Params) (*AuthorizationServerPolicy, *okta.Response, error)
func (*ApiSupplement) UpdateAuthorizationServerPolicyRule ¶
func (m *ApiSupplement) UpdateAuthorizationServerPolicyRule(authServerId, policyId, id string, body AuthorizationServerPolicyRule, qp *query.Params) (*AuthorizationServerPolicyRule, *okta.Response, error)
func (*ApiSupplement) UpdateAuthorizationServerScope ¶
func (m *ApiSupplement) UpdateAuthorizationServerScope(authServerId, id string, body AuthorizationServerScope, qp *query.Params) (*AuthorizationServerScope, *okta.Response, error)
type AuthServerCredentials ¶
type AuthServerCredentials struct {
Signing *okta.ApplicationCredentialsSigning `json:"signing,omitempty"`
}
type AuthorizationServer ¶
type AuthorizationServer struct { Audiences []string `json:"audiences,omitempty"` Credentials *AuthServerCredentials `json:"credentials,omitempty"` Description string `json:"description,omitempty"` Name string `json:"name,omitempty"` Id string `json:"id,omitempty"` Status string `json:"status,omitempty"` Issuer string `json:"issuer,omitempty"` IssuerMode string `json:"issuerMode,omitempty"` }
type AuthorizationServerClaim ¶
type AuthorizationServerClaim struct { Status string `json:"status,omitempty"` ClaimType string `json:"claimType,omitempty"` ValueType string `json:"valueType,omitempty"` Value string `json:"value,omitempty"` AlwaysIncludeInToken bool `json:"alwaysIncludeInToken,omitempty"` Name string `json:"name,omitempty"` Id string `json:"id,omitempty"` Conditions *ClaimConditions `json:"conditions,omitempty"` GroupFilterType string `json:"group_filter_type,omitempty"` }
type AuthorizationServerPolicy ¶
type AuthorizationServerPolicy struct { Status string `json:"status,omitempty"` Priority int `json:"priority,omitempty"` Type string `json:"type,omitempty"` Description string `json:"description,omitempty"` Name string `json:"name,omitempty"` Id string `json:"id,omitempty"` Conditions *PolicyConditions `json:"conditions,omitempty"` }
type AuthorizationServerPolicyRule ¶
type AuthorizationServerPolicyRule struct { Status string `json:"status,omitempty"` Priority int `json:"priority,omitempty"` Type string `json:"type,omitempty"` Name string `json:"name,omitempty"` Id string `json:"id,omitempty"` Conditions *PolicyRuleConditions `json:"conditions,omitempty"` Actions *PolicyRuleActions `json:"actions,omitempty"` }
type CheckUpstream ¶
type ClaimConditions ¶
type ClaimConditions struct {
Scopes []string `json:"scopes,omitempty"`
}
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config is a struct containing our provider schema values plus the okta client object
type PolicyConditions ¶
type PolicyConditions struct {
Clients *Whitelist `json:"clients,omitempty"`
}
type PolicyRuleActions ¶
type PolicyRuleActions struct {
Token *TokenActions `json:"token,omitempty"`
}
type PolicyRuleConditions ¶
type PolicyRuleConditions struct { GrantTypes *Whitelist `json:"grantTypes,omitempty"` People *okta.GroupRulePeopleCondition `json:"people,omitempty"` Scopes *Whitelist `json:"scopes,omitempty"` }
type TokenActions ¶
Source Files ¶
- api_supplement.go
- app.go
- authorization_server_claims.go
- authorization_server_policies.go
- authorization_server_policy_rules.go
- authorization_server_scopes.go
- authorization_servers.go
- config.go
- data_source_app.go
- data_source_auth_server.go
- data_source_default_policy.go
- data_source_everyone_group.go
- data_source_group.go
- data_source_policy.go
- data_source_user.go
- fixtures.go
- policy.go
- policy_rule.go
- promise.go
- provider.go
- resource_auth_server.go
- resource_auth_server_claim.go
- resource_auth_server_policy.go
- resource_auth_server_policy_rule.go
- resource_auth_server_scope.go
- resource_auto_login_app.go
- resource_bookmark_app.go
- resource_factor.go
- resource_group.go
- resource_group_rule.go
- resource_identity_provider.go
- resource_mfa_policy.go
- resource_mfa_policy_rule.go
- resource_oauth_app.go
- resource_oauth_app_redirect_uri.go
- resource_password_policy.go
- resource_password_policy_rule.go
- resource_saml_app.go
- resource_secure_password_store_app.go
- resource_sign_on_policy.go
- resource_sign_on_policy_rule.go
- resource_swa_app.go
- resource_three_field_app.go
- resource_trusted_origin.go
- resource_user.go
- resource_user_schema.go
- resource_user_schemas.go
- test_utils.go
- user.go
- utils.go
Click to show internal directories.
Click to hide internal directories.