harness.platform.ServiceNowConnector
Explore with Pulumi AI
Resource for creating a Service Now connector.
Example to create ServiceNow Connector at different levels (Org, Project, Account)
Create ServiceNowConnector Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ServiceNowConnector(name: string, args: ServiceNowConnectorArgs, opts?: CustomResourceOptions);
@overload
def ServiceNowConnector(resource_name: str,
args: ServiceNowConnectorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ServiceNowConnector(resource_name: str,
opts: Optional[ResourceOptions] = None,
auth: Optional[ServiceNowConnectorAuthArgs] = None,
identifier: Optional[str] = None,
service_now_url: Optional[str] = None,
delegate_selectors: Optional[Sequence[str]] = None,
description: Optional[str] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
password_ref: Optional[str] = None,
project_id: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
username: Optional[str] = None,
username_ref: Optional[str] = None)
func NewServiceNowConnector(ctx *Context, name string, args ServiceNowConnectorArgs, opts ...ResourceOption) (*ServiceNowConnector, error)
public ServiceNowConnector(string name, ServiceNowConnectorArgs args, CustomResourceOptions? opts = null)
public ServiceNowConnector(String name, ServiceNowConnectorArgs args)
public ServiceNowConnector(String name, ServiceNowConnectorArgs args, CustomResourceOptions options)
type: harness:platform:ServiceNowConnector
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 ServiceNowConnectorArgs
- 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 ServiceNowConnectorArgs
- 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 ServiceNowConnectorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServiceNowConnectorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServiceNowConnectorArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var serviceNowConnectorResource = new Harness.Platform.ServiceNowConnector("serviceNowConnectorResource", new()
{
Auth = new Harness.Platform.Inputs.ServiceNowConnectorAuthArgs
{
AuthType = "string",
Adfs = new Harness.Platform.Inputs.ServiceNowConnectorAuthAdfsArgs
{
AdfsUrl = "string",
CertificateRef = "string",
ClientIdRef = "string",
PrivateKeyRef = "string",
ResourceIdRef = "string",
},
RefreshToken = new Harness.Platform.Inputs.ServiceNowConnectorAuthRefreshTokenArgs
{
ClientIdRef = "string",
RefreshTokenRef = "string",
TokenUrl = "string",
ClientSecretRef = "string",
Scope = "string",
},
UsernamePassword = new Harness.Platform.Inputs.ServiceNowConnectorAuthUsernamePasswordArgs
{
PasswordRef = "string",
Username = "string",
UsernameRef = "string",
},
},
Identifier = "string",
ServiceNowUrl = "string",
DelegateSelectors = new[]
{
"string",
},
Description = "string",
Name = "string",
OrgId = "string",
PasswordRef = "string",
ProjectId = "string",
Tags = new[]
{
"string",
},
Username = "string",
UsernameRef = "string",
});
example, err := platform.NewServiceNowConnector(ctx, "serviceNowConnectorResource", &platform.ServiceNowConnectorArgs{
Auth: &platform.ServiceNowConnectorAuthArgs{
AuthType: pulumi.String("string"),
Adfs: &platform.ServiceNowConnectorAuthAdfsArgs{
AdfsUrl: pulumi.String("string"),
CertificateRef: pulumi.String("string"),
ClientIdRef: pulumi.String("string"),
PrivateKeyRef: pulumi.String("string"),
ResourceIdRef: pulumi.String("string"),
},
RefreshToken: &platform.ServiceNowConnectorAuthRefreshTokenArgs{
ClientIdRef: pulumi.String("string"),
RefreshTokenRef: pulumi.String("string"),
TokenUrl: pulumi.String("string"),
ClientSecretRef: pulumi.String("string"),
Scope: pulumi.String("string"),
},
UsernamePassword: &platform.ServiceNowConnectorAuthUsernamePasswordArgs{
PasswordRef: pulumi.String("string"),
Username: pulumi.String("string"),
UsernameRef: pulumi.String("string"),
},
},
Identifier: pulumi.String("string"),
ServiceNowUrl: pulumi.String("string"),
DelegateSelectors: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
Name: pulumi.String("string"),
OrgId: pulumi.String("string"),
PasswordRef: pulumi.String("string"),
ProjectId: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
Username: pulumi.String("string"),
UsernameRef: pulumi.String("string"),
})
var serviceNowConnectorResource = new ServiceNowConnector("serviceNowConnectorResource", ServiceNowConnectorArgs.builder()
.auth(ServiceNowConnectorAuthArgs.builder()
.authType("string")
.adfs(ServiceNowConnectorAuthAdfsArgs.builder()
.adfsUrl("string")
.certificateRef("string")
.clientIdRef("string")
.privateKeyRef("string")
.resourceIdRef("string")
.build())
.refreshToken(ServiceNowConnectorAuthRefreshTokenArgs.builder()
.clientIdRef("string")
.refreshTokenRef("string")
.tokenUrl("string")
.clientSecretRef("string")
.scope("string")
.build())
.usernamePassword(ServiceNowConnectorAuthUsernamePasswordArgs.builder()
.passwordRef("string")
.username("string")
.usernameRef("string")
.build())
.build())
.identifier("string")
.serviceNowUrl("string")
.delegateSelectors("string")
.description("string")
.name("string")
.orgId("string")
.passwordRef("string")
.projectId("string")
.tags("string")
.username("string")
.usernameRef("string")
.build());
service_now_connector_resource = harness.platform.ServiceNowConnector("serviceNowConnectorResource",
auth={
"auth_type": "string",
"adfs": {
"adfs_url": "string",
"certificate_ref": "string",
"client_id_ref": "string",
"private_key_ref": "string",
"resource_id_ref": "string",
},
"refresh_token": {
"client_id_ref": "string",
"refresh_token_ref": "string",
"token_url": "string",
"client_secret_ref": "string",
"scope": "string",
},
"username_password": {
"password_ref": "string",
"username": "string",
"username_ref": "string",
},
},
identifier="string",
service_now_url="string",
delegate_selectors=["string"],
description="string",
name="string",
org_id="string",
password_ref="string",
project_id="string",
tags=["string"],
username="string",
username_ref="string")
const serviceNowConnectorResource = new harness.platform.ServiceNowConnector("serviceNowConnectorResource", {
auth: {
authType: "string",
adfs: {
adfsUrl: "string",
certificateRef: "string",
clientIdRef: "string",
privateKeyRef: "string",
resourceIdRef: "string",
},
refreshToken: {
clientIdRef: "string",
refreshTokenRef: "string",
tokenUrl: "string",
clientSecretRef: "string",
scope: "string",
},
usernamePassword: {
passwordRef: "string",
username: "string",
usernameRef: "string",
},
},
identifier: "string",
serviceNowUrl: "string",
delegateSelectors: ["string"],
description: "string",
name: "string",
orgId: "string",
passwordRef: "string",
projectId: "string",
tags: ["string"],
username: "string",
usernameRef: "string",
});
type: harness:platform:ServiceNowConnector
properties:
auth:
adfs:
adfsUrl: string
certificateRef: string
clientIdRef: string
privateKeyRef: string
resourceIdRef: string
authType: string
refreshToken:
clientIdRef: string
clientSecretRef: string
refreshTokenRef: string
scope: string
tokenUrl: string
usernamePassword:
passwordRef: string
username: string
usernameRef: string
delegateSelectors:
- string
description: string
identifier: string
name: string
orgId: string
passwordRef: string
projectId: string
serviceNowUrl: string
tags:
- string
username: string
usernameRef: string
ServiceNowConnector 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 ServiceNowConnector resource accepts the following input properties:
- Auth
Service
Now Connector Auth - The credentials to use for the service now authentication.
- Identifier string
- Unique identifier of the resource.
- Service
Now stringUrl - URL of service now.
- Delegate
Selectors List<string> - Tags to filter delegates for connection.
- Description string
- Description of the resource.
- Name string
- Name of the resource.
- Org
Id string - Unique identifier of the organization.
- Password
Ref string - Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- Project
Id string - Unique identifier of the project.
- List<string>
- Tags to associate with the resource.
- Username string
- Username to use for authentication.
- Username
Ref string - Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- Auth
Service
Now Connector Auth Args - The credentials to use for the service now authentication.
- Identifier string
- Unique identifier of the resource.
- Service
Now stringUrl - URL of service now.
- Delegate
Selectors []string - Tags to filter delegates for connection.
- Description string
- Description of the resource.
- Name string
- Name of the resource.
- Org
Id string - Unique identifier of the organization.
- Password
Ref string - Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- Project
Id string - Unique identifier of the project.
- []string
- Tags to associate with the resource.
- Username string
- Username to use for authentication.
- Username
Ref string - Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- auth
Service
Now Connector Auth - The credentials to use for the service now authentication.
- identifier String
- Unique identifier of the resource.
- service
Now StringUrl - URL of service now.
- delegate
Selectors List<String> - Tags to filter delegates for connection.
- description String
- Description of the resource.
- name String
- Name of the resource.
- org
Id String - Unique identifier of the organization.
- password
Ref String - Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- project
Id String - Unique identifier of the project.
- List<String>
- Tags to associate with the resource.
- username String
- Username to use for authentication.
- username
Ref String - Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- auth
Service
Now Connector Auth - The credentials to use for the service now authentication.
- identifier string
- Unique identifier of the resource.
- service
Now stringUrl - URL of service now.
- delegate
Selectors string[] - Tags to filter delegates for connection.
- description string
- Description of the resource.
- name string
- Name of the resource.
- org
Id string - Unique identifier of the organization.
- password
Ref string - Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- project
Id string - Unique identifier of the project.
- string[]
- Tags to associate with the resource.
- username string
- Username to use for authentication.
- username
Ref string - Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- auth
Service
Now Connector Auth Args - The credentials to use for the service now authentication.
- identifier str
- Unique identifier of the resource.
- service_
now_ strurl - URL of service now.
- delegate_
selectors Sequence[str] - Tags to filter delegates for connection.
- description str
- Description of the resource.
- name str
- Name of the resource.
- org_
id str - Unique identifier of the organization.
- password_
ref str - Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- project_
id str - Unique identifier of the project.
- Sequence[str]
- Tags to associate with the resource.
- username str
- Username to use for authentication.
- username_
ref str - Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- auth Property Map
- The credentials to use for the service now authentication.
- identifier String
- Unique identifier of the resource.
- service
Now StringUrl - URL of service now.
- delegate
Selectors List<String> - Tags to filter delegates for connection.
- description String
- Description of the resource.
- name String
- Name of the resource.
- org
Id String - Unique identifier of the organization.
- password
Ref String - Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- project
Id String - Unique identifier of the project.
- List<String>
- Tags to associate with the resource.
- username String
- Username to use for authentication.
- username
Ref String - Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
Outputs
All input properties are implicitly available as output properties. Additionally, the ServiceNowConnector 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.
Look up Existing ServiceNowConnector Resource
Get an existing ServiceNowConnector resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ServiceNowConnectorState, opts?: CustomResourceOptions): ServiceNowConnector
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auth: Optional[ServiceNowConnectorAuthArgs] = None,
delegate_selectors: Optional[Sequence[str]] = None,
description: Optional[str] = None,
identifier: Optional[str] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
password_ref: Optional[str] = None,
project_id: Optional[str] = None,
service_now_url: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
username: Optional[str] = None,
username_ref: Optional[str] = None) -> ServiceNowConnector
func GetServiceNowConnector(ctx *Context, name string, id IDInput, state *ServiceNowConnectorState, opts ...ResourceOption) (*ServiceNowConnector, error)
public static ServiceNowConnector Get(string name, Input<string> id, ServiceNowConnectorState? state, CustomResourceOptions? opts = null)
public static ServiceNowConnector get(String name, Output<String> id, ServiceNowConnectorState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Auth
Service
Now Connector Auth - The credentials to use for the service now authentication.
- Delegate
Selectors List<string> - Tags to filter delegates for connection.
- Description string
- Description of the resource.
- Identifier string
- Unique identifier of the resource.
- Name string
- Name of the resource.
- Org
Id string - Unique identifier of the organization.
- Password
Ref string - Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- Project
Id string - Unique identifier of the project.
- Service
Now stringUrl - URL of service now.
- List<string>
- Tags to associate with the resource.
- Username string
- Username to use for authentication.
- Username
Ref string - Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- Auth
Service
Now Connector Auth Args - The credentials to use for the service now authentication.
- Delegate
Selectors []string - Tags to filter delegates for connection.
- Description string
- Description of the resource.
- Identifier string
- Unique identifier of the resource.
- Name string
- Name of the resource.
- Org
Id string - Unique identifier of the organization.
- Password
Ref string - Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- Project
Id string - Unique identifier of the project.
- Service
Now stringUrl - URL of service now.
- []string
- Tags to associate with the resource.
- Username string
- Username to use for authentication.
- Username
Ref string - Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- auth
Service
Now Connector Auth - The credentials to use for the service now authentication.
- delegate
Selectors List<String> - Tags to filter delegates for connection.
- description String
- Description of the resource.
- identifier String
- Unique identifier of the resource.
- name String
- Name of the resource.
- org
Id String - Unique identifier of the organization.
- password
Ref String - Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- project
Id String - Unique identifier of the project.
- service
Now StringUrl - URL of service now.
- List<String>
- Tags to associate with the resource.
- username String
- Username to use for authentication.
- username
Ref String - Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- auth
Service
Now Connector Auth - The credentials to use for the service now authentication.
- delegate
Selectors string[] - Tags to filter delegates for connection.
- description string
- Description of the resource.
- identifier string
- Unique identifier of the resource.
- name string
- Name of the resource.
- org
Id string - Unique identifier of the organization.
- password
Ref string - Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- project
Id string - Unique identifier of the project.
- service
Now stringUrl - URL of service now.
- string[]
- Tags to associate with the resource.
- username string
- Username to use for authentication.
- username
Ref string - Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- auth
Service
Now Connector Auth Args - The credentials to use for the service now authentication.
- delegate_
selectors Sequence[str] - Tags to filter delegates for connection.
- description str
- Description of the resource.
- identifier str
- Unique identifier of the resource.
- name str
- Name of the resource.
- org_
id str - Unique identifier of the organization.
- password_
ref str - Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- project_
id str - Unique identifier of the project.
- service_
now_ strurl - URL of service now.
- Sequence[str]
- Tags to associate with the resource.
- username str
- Username to use for authentication.
- username_
ref str - Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- auth Property Map
- The credentials to use for the service now authentication.
- delegate
Selectors List<String> - Tags to filter delegates for connection.
- description String
- Description of the resource.
- identifier String
- Unique identifier of the resource.
- name String
- Name of the resource.
- org
Id String - Unique identifier of the organization.
- password
Ref String - Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- project
Id String - Unique identifier of the project.
- service
Now StringUrl - URL of service now.
- List<String>
- Tags to associate with the resource.
- username String
- Username to use for authentication.
- username
Ref String - Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
Supporting Types
ServiceNowConnectorAuth, ServiceNowConnectorAuthArgs
- Auth
Type string - Authentication types for Jira connector
- Adfs
Service
Now Connector Auth Adfs - Authenticate using adfs client credentials with certificate.
- Refresh
Token ServiceNow Connector Auth Refresh Token - Authenticate using refresh token grant type.
- Username
Password ServiceNow Connector Auth Username Password - Authenticate using username password.
- Auth
Type string - Authentication types for Jira connector
- Adfs
Service
Now Connector Auth Adfs - Authenticate using adfs client credentials with certificate.
- Refresh
Token ServiceNow Connector Auth Refresh Token - Authenticate using refresh token grant type.
- Username
Password ServiceNow Connector Auth Username Password - Authenticate using username password.
- auth
Type String - Authentication types for Jira connector
- adfs
Service
Now Connector Auth Adfs - Authenticate using adfs client credentials with certificate.
- refresh
Token ServiceNow Connector Auth Refresh Token - Authenticate using refresh token grant type.
- username
Password ServiceNow Connector Auth Username Password - Authenticate using username password.
- auth
Type string - Authentication types for Jira connector
- adfs
Service
Now Connector Auth Adfs - Authenticate using adfs client credentials with certificate.
- refresh
Token ServiceNow Connector Auth Refresh Token - Authenticate using refresh token grant type.
- username
Password ServiceNow Connector Auth Username Password - Authenticate using username password.
- auth_
type str - Authentication types for Jira connector
- adfs
Service
Now Connector Auth Adfs - Authenticate using adfs client credentials with certificate.
- refresh_
token ServiceNow Connector Auth Refresh Token - Authenticate using refresh token grant type.
- username_
password ServiceNow Connector Auth Username Password - Authenticate using username password.
- auth
Type String - Authentication types for Jira connector
- adfs Property Map
- Authenticate using adfs client credentials with certificate.
- refresh
Token Property Map - Authenticate using refresh token grant type.
- username
Password Property Map - Authenticate using username password.
ServiceNowConnectorAuthAdfs, ServiceNowConnectorAuthAdfsArgs
- Adfs
Url string - asdf URL.
- Certificate
Ref string - Reference to a secret containing the certificate to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- Client
Id stringRef - Reference to a secret containing the clientIdRef to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- Private
Key stringRef - Reference to a secret containing the privateKeyRef to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- Resource
Id stringRef - Reference to a secret containing the resourceIdRef to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- Adfs
Url string - asdf URL.
- Certificate
Ref string - Reference to a secret containing the certificate to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- Client
Id stringRef - Reference to a secret containing the clientIdRef to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- Private
Key stringRef - Reference to a secret containing the privateKeyRef to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- Resource
Id stringRef - Reference to a secret containing the resourceIdRef to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- adfs
Url String - asdf URL.
- certificate
Ref String - Reference to a secret containing the certificate to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- client
Id StringRef - Reference to a secret containing the clientIdRef to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- private
Key StringRef - Reference to a secret containing the privateKeyRef to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- resource
Id StringRef - Reference to a secret containing the resourceIdRef to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- adfs
Url string - asdf URL.
- certificate
Ref string - Reference to a secret containing the certificate to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- client
Id stringRef - Reference to a secret containing the clientIdRef to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- private
Key stringRef - Reference to a secret containing the privateKeyRef to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- resource
Id stringRef - Reference to a secret containing the resourceIdRef to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- adfs_
url str - asdf URL.
- certificate_
ref str - Reference to a secret containing the certificate to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- client_
id_ strref - Reference to a secret containing the clientIdRef to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- private_
key_ strref - Reference to a secret containing the privateKeyRef to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- resource_
id_ strref - Reference to a secret containing the resourceIdRef to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- adfs
Url String - asdf URL.
- certificate
Ref String - Reference to a secret containing the certificate to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- client
Id StringRef - Reference to a secret containing the clientIdRef to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- private
Key StringRef - Reference to a secret containing the privateKeyRef to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- resource
Id StringRef - Reference to a secret containing the resourceIdRef to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
ServiceNowConnectorAuthRefreshToken, ServiceNowConnectorAuthRefreshTokenArgs
- Client
Id stringRef - Reference to a secret containing the client id to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- Refresh
Token stringRef - Reference to a secret containing the refresh token to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- Token
Url string - Token url to use for authentication.
- Client
Secret stringRef - Reference to a secret containing the client secret to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- Scope string
- Scope string to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- Client
Id stringRef - Reference to a secret containing the client id to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- Refresh
Token stringRef - Reference to a secret containing the refresh token to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- Token
Url string - Token url to use for authentication.
- Client
Secret stringRef - Reference to a secret containing the client secret to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- Scope string
- Scope string to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- client
Id StringRef - Reference to a secret containing the client id to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- refresh
Token StringRef - Reference to a secret containing the refresh token to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- token
Url String - Token url to use for authentication.
- client
Secret StringRef - Reference to a secret containing the client secret to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- scope String
- Scope string to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- client
Id stringRef - Reference to a secret containing the client id to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- refresh
Token stringRef - Reference to a secret containing the refresh token to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- token
Url string - Token url to use for authentication.
- client
Secret stringRef - Reference to a secret containing the client secret to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- scope string
- Scope string to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- client_
id_ strref - Reference to a secret containing the client id to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- refresh_
token_ strref - Reference to a secret containing the refresh token to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- token_
url str - Token url to use for authentication.
- client_
secret_ strref - Reference to a secret containing the client secret to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- scope str
- Scope string to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- client
Id StringRef - Reference to a secret containing the client id to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- refresh
Token StringRef - Reference to a secret containing the refresh token to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- token
Url String - Token url to use for authentication.
- client
Secret StringRef - Reference to a secret containing the client secret to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- scope String
- Scope string to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
ServiceNowConnectorAuthUsernamePassword, ServiceNowConnectorAuthUsernamePasswordArgs
- Password
Ref string - Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- Username string
- Username to use for authentication.
- Username
Ref string - Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- Password
Ref string - Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- Username string
- Username to use for authentication.
- Username
Ref string - Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- password
Ref String - Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- username String
- Username to use for authentication.
- username
Ref String - Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- password
Ref string - Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- username string
- Username to use for authentication.
- username
Ref string - Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- password_
ref str - Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- username str
- Username to use for authentication.
- username_
ref str - Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- password
Ref String - Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- username String
- Username to use for authentication.
- username
Ref String - Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
Import
Import account level service now connector
$ pulumi import harness:platform/serviceNowConnector:ServiceNowConnector example <connector_id>
Import org level service now connector
$ pulumi import harness:platform/serviceNowConnector:ServiceNowConnector example <ord_id>/<connector_id>
Import project level service now connector
$ pulumi import harness:platform/serviceNowConnector:ServiceNowConnector example <org_id>/<project_id>/<connector_id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harness
Terraform Provider.