okta.Provider
Explore with Pulumi AI
The provider type for the okta package. By default, resources use package-wide configuration
settings, however an explicit Provider
instance may be created and passed during resource
construction to achieve fine-grained programmatic control over provider settings. See the
documentation for more information.
Create Provider Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@overload
def Provider(resource_name: str,
args: Optional[ProviderArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Provider(resource_name: str,
opts: Optional[ResourceOptions] = None,
access_token: Optional[str] = None,
api_token: Optional[str] = None,
backoff: Optional[bool] = None,
base_url: Optional[str] = None,
client_id: Optional[str] = None,
http_proxy: Optional[str] = None,
log_level: Optional[int] = None,
max_api_capacity: Optional[int] = None,
max_retries: Optional[int] = None,
max_wait_seconds: Optional[int] = None,
min_wait_seconds: Optional[int] = None,
org_name: Optional[str] = None,
parallelism: Optional[int] = None,
private_key: Optional[str] = None,
private_key_id: Optional[str] = None,
request_timeout: Optional[int] = None,
scopes: Optional[Sequence[str]] = None)
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
public Provider(String name, ProviderArgs args)
public Provider(String name, ProviderArgs args, CustomResourceOptions options)
type: pulumi:providers:okta
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Provider Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Provider resource accepts the following input properties:
- Access
Token string - Bearer token granting privileges to Okta API.
- Api
Token string - API Token granting privileges to Okta API.
- Backoff bool
- Use exponential back off strategy for rate limits.
- Base
Url string - The Okta url. (Use 'oktapreview.com' for Okta testing)
- Client
Id string - API Token granting privileges to Okta API.
- Http
Proxy string - Alternate HTTP proxy of scheme://hostname or scheme://hostname:port format
- Log
Level int - providers log level. Minimum is 1 (TRACE), and maximum is 5 (ERROR)
- Max
Api intCapacity - (Experimental) sets what percentage of capacity the provider can use of the total rate limit capacity while making calls to the Okta management API endpoints. Okta API operates in one minute buckets. See Okta Management API Rate Limits: https://developer.okta.com/docs/reference/rl-global-mgmt/
- Max
Retries int - maximum number of retries to attempt before erroring out.
- Max
Wait intSeconds - maximum seconds to wait when rate limit is hit. We use exponential backoffs when backoff is enabled.
- Min
Wait intSeconds - minimum seconds to wait when rate limit is hit. We use exponential backoffs when backoff is enabled.
- Org
Name string - The organization to manage in Okta.
- Parallelism int
- Number of concurrent requests to make within a resource where bulk operations are not possible. Take note of https://developer.okta.com/docs/api/getting_started/rate-limits.
- Private
Key string - API Token granting privileges to Okta API.
- Private
Key stringId - API Token Id granting privileges to Okta API.
- Request
Timeout int - Timeout for single request (in seconds) which is made to Okta, the default is
0
(means no limit is set). The maximum value can be300
. - Scopes List<string>
- API Token granting privileges to Okta API.
- Access
Token string - Bearer token granting privileges to Okta API.
- Api
Token string - API Token granting privileges to Okta API.
- Backoff bool
- Use exponential back off strategy for rate limits.
- Base
Url string - The Okta url. (Use 'oktapreview.com' for Okta testing)
- Client
Id string - API Token granting privileges to Okta API.
- Http
Proxy string - Alternate HTTP proxy of scheme://hostname or scheme://hostname:port format
- Log
Level int - providers log level. Minimum is 1 (TRACE), and maximum is 5 (ERROR)
- Max
Api intCapacity - (Experimental) sets what percentage of capacity the provider can use of the total rate limit capacity while making calls to the Okta management API endpoints. Okta API operates in one minute buckets. See Okta Management API Rate Limits: https://developer.okta.com/docs/reference/rl-global-mgmt/
- Max
Retries int - maximum number of retries to attempt before erroring out.
- Max
Wait intSeconds - maximum seconds to wait when rate limit is hit. We use exponential backoffs when backoff is enabled.
- Min
Wait intSeconds - minimum seconds to wait when rate limit is hit. We use exponential backoffs when backoff is enabled.
- Org
Name string - The organization to manage in Okta.
- Parallelism int
- Number of concurrent requests to make within a resource where bulk operations are not possible. Take note of https://developer.okta.com/docs/api/getting_started/rate-limits.
- Private
Key string - API Token granting privileges to Okta API.
- Private
Key stringId - API Token Id granting privileges to Okta API.
- Request
Timeout int - Timeout for single request (in seconds) which is made to Okta, the default is
0
(means no limit is set). The maximum value can be300
. - Scopes []string
- API Token granting privileges to Okta API.
- access
Token String - Bearer token granting privileges to Okta API.
- api
Token String - API Token granting privileges to Okta API.
- backoff Boolean
- Use exponential back off strategy for rate limits.
- base
Url String - The Okta url. (Use 'oktapreview.com' for Okta testing)
- client
Id String - API Token granting privileges to Okta API.
- http
Proxy String - Alternate HTTP proxy of scheme://hostname or scheme://hostname:port format
- log
Level Integer - providers log level. Minimum is 1 (TRACE), and maximum is 5 (ERROR)
- max
Api IntegerCapacity - (Experimental) sets what percentage of capacity the provider can use of the total rate limit capacity while making calls to the Okta management API endpoints. Okta API operates in one minute buckets. See Okta Management API Rate Limits: https://developer.okta.com/docs/reference/rl-global-mgmt/
- max
Retries Integer - maximum number of retries to attempt before erroring out.
- max
Wait IntegerSeconds - maximum seconds to wait when rate limit is hit. We use exponential backoffs when backoff is enabled.
- min
Wait IntegerSeconds - minimum seconds to wait when rate limit is hit. We use exponential backoffs when backoff is enabled.
- org
Name String - The organization to manage in Okta.
- parallelism Integer
- Number of concurrent requests to make within a resource where bulk operations are not possible. Take note of https://developer.okta.com/docs/api/getting_started/rate-limits.
- private
Key String - API Token granting privileges to Okta API.
- private
Key StringId - API Token Id granting privileges to Okta API.
- request
Timeout Integer - Timeout for single request (in seconds) which is made to Okta, the default is
0
(means no limit is set). The maximum value can be300
. - scopes List<String>
- API Token granting privileges to Okta API.
- access
Token string - Bearer token granting privileges to Okta API.
- api
Token string - API Token granting privileges to Okta API.
- backoff boolean
- Use exponential back off strategy for rate limits.
- base
Url string - The Okta url. (Use 'oktapreview.com' for Okta testing)
- client
Id string - API Token granting privileges to Okta API.
- http
Proxy string - Alternate HTTP proxy of scheme://hostname or scheme://hostname:port format
- log
Level number - providers log level. Minimum is 1 (TRACE), and maximum is 5 (ERROR)
- max
Api numberCapacity - (Experimental) sets what percentage of capacity the provider can use of the total rate limit capacity while making calls to the Okta management API endpoints. Okta API operates in one minute buckets. See Okta Management API Rate Limits: https://developer.okta.com/docs/reference/rl-global-mgmt/
- max
Retries number - maximum number of retries to attempt before erroring out.
- max
Wait numberSeconds - maximum seconds to wait when rate limit is hit. We use exponential backoffs when backoff is enabled.
- min
Wait numberSeconds - minimum seconds to wait when rate limit is hit. We use exponential backoffs when backoff is enabled.
- org
Name string - The organization to manage in Okta.
- parallelism number
- Number of concurrent requests to make within a resource where bulk operations are not possible. Take note of https://developer.okta.com/docs/api/getting_started/rate-limits.
- private
Key string - API Token granting privileges to Okta API.
- private
Key stringId - API Token Id granting privileges to Okta API.
- request
Timeout number - Timeout for single request (in seconds) which is made to Okta, the default is
0
(means no limit is set). The maximum value can be300
. - scopes string[]
- API Token granting privileges to Okta API.
- access_
token str - Bearer token granting privileges to Okta API.
- api_
token str - API Token granting privileges to Okta API.
- backoff bool
- Use exponential back off strategy for rate limits.
- base_
url str - The Okta url. (Use 'oktapreview.com' for Okta testing)
- client_
id str - API Token granting privileges to Okta API.
- http_
proxy str - Alternate HTTP proxy of scheme://hostname or scheme://hostname:port format
- log_
level int - providers log level. Minimum is 1 (TRACE), and maximum is 5 (ERROR)
- max_
api_ intcapacity - (Experimental) sets what percentage of capacity the provider can use of the total rate limit capacity while making calls to the Okta management API endpoints. Okta API operates in one minute buckets. See Okta Management API Rate Limits: https://developer.okta.com/docs/reference/rl-global-mgmt/
- max_
retries int - maximum number of retries to attempt before erroring out.
- max_
wait_ intseconds - maximum seconds to wait when rate limit is hit. We use exponential backoffs when backoff is enabled.
- min_
wait_ intseconds - minimum seconds to wait when rate limit is hit. We use exponential backoffs when backoff is enabled.
- org_
name str - The organization to manage in Okta.
- parallelism int
- Number of concurrent requests to make within a resource where bulk operations are not possible. Take note of https://developer.okta.com/docs/api/getting_started/rate-limits.
- private_
key str - API Token granting privileges to Okta API.
- private_
key_ strid - API Token Id granting privileges to Okta API.
- request_
timeout int - Timeout for single request (in seconds) which is made to Okta, the default is
0
(means no limit is set). The maximum value can be300
. - scopes Sequence[str]
- API Token granting privileges to Okta API.
- access
Token String - Bearer token granting privileges to Okta API.
- api
Token String - API Token granting privileges to Okta API.
- backoff Boolean
- Use exponential back off strategy for rate limits.
- base
Url String - The Okta url. (Use 'oktapreview.com' for Okta testing)
- client
Id String - API Token granting privileges to Okta API.
- http
Proxy String - Alternate HTTP proxy of scheme://hostname or scheme://hostname:port format
- log
Level Number - providers log level. Minimum is 1 (TRACE), and maximum is 5 (ERROR)
- max
Api NumberCapacity - (Experimental) sets what percentage of capacity the provider can use of the total rate limit capacity while making calls to the Okta management API endpoints. Okta API operates in one minute buckets. See Okta Management API Rate Limits: https://developer.okta.com/docs/reference/rl-global-mgmt/
- max
Retries Number - maximum number of retries to attempt before erroring out.
- max
Wait NumberSeconds - maximum seconds to wait when rate limit is hit. We use exponential backoffs when backoff is enabled.
- min
Wait NumberSeconds - minimum seconds to wait when rate limit is hit. We use exponential backoffs when backoff is enabled.
- org
Name String - The organization to manage in Okta.
- parallelism Number
- Number of concurrent requests to make within a resource where bulk operations are not possible. Take note of https://developer.okta.com/docs/api/getting_started/rate-limits.
- private
Key String - API Token granting privileges to Okta API.
- private
Key StringId - API Token Id granting privileges to Okta API.
- request
Timeout Number - Timeout for single request (in seconds) which is made to Okta, the default is
0
(means no limit is set). The maximum value can be300
. - scopes List<String>
- API Token granting privileges to Okta API.
Outputs
All input properties are implicitly available as output properties. Additionally, the Provider resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Package Details
- Repository
- Okta pulumi/pulumi-okta
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
okta
Terraform Provider.