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
ServiceNow Connector Auth 
- The credentials to use for the service now authentication.
- Identifier string
- Unique identifier of the resource.
- ServiceNow stringUrl 
- URL of service now.
- DelegateSelectors List<string>
- Tags to filter delegates for connection.
- Description string
- Description of the resource.
- Name string
- Name of the resource.
- OrgId string
- Unique identifier of the organization.
- PasswordRef 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}.
- ProjectId string
- Unique identifier of the project.
- List<string>
- Tags to associate with the resource.
- Username string
- Username to use for authentication.
- UsernameRef 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
ServiceNow Connector Auth Args 
- The credentials to use for the service now authentication.
- Identifier string
- Unique identifier of the resource.
- ServiceNow stringUrl 
- URL of service now.
- DelegateSelectors []string
- Tags to filter delegates for connection.
- Description string
- Description of the resource.
- Name string
- Name of the resource.
- OrgId string
- Unique identifier of the organization.
- PasswordRef 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}.
- ProjectId string
- Unique identifier of the project.
- []string
- Tags to associate with the resource.
- Username string
- Username to use for authentication.
- UsernameRef 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
ServiceNow Connector Auth 
- The credentials to use for the service now authentication.
- identifier String
- Unique identifier of the resource.
- serviceNow StringUrl 
- URL of service now.
- delegateSelectors List<String>
- Tags to filter delegates for connection.
- description String
- Description of the resource.
- name String
- Name of the resource.
- orgId String
- Unique identifier of the organization.
- passwordRef 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}.
- projectId String
- Unique identifier of the project.
- List<String>
- Tags to associate with the resource.
- username String
- Username to use for authentication.
- usernameRef 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
ServiceNow Connector Auth 
- The credentials to use for the service now authentication.
- identifier string
- Unique identifier of the resource.
- serviceNow stringUrl 
- URL of service now.
- delegateSelectors string[]
- Tags to filter delegates for connection.
- description string
- Description of the resource.
- name string
- Name of the resource.
- orgId string
- Unique identifier of the organization.
- passwordRef 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}.
- projectId string
- Unique identifier of the project.
- string[]
- Tags to associate with the resource.
- username string
- Username to use for authentication.
- usernameRef 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
ServiceNow 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.
- serviceNow StringUrl 
- URL of service now.
- delegateSelectors List<String>
- Tags to filter delegates for connection.
- description String
- Description of the resource.
- name String
- Name of the resource.
- orgId String
- Unique identifier of the organization.
- passwordRef 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}.
- projectId String
- Unique identifier of the project.
- List<String>
- Tags to associate with the resource.
- username String
- Username to use for authentication.
- usernameRef 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) -> ServiceNowConnectorfunc 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)resources:  _:    type: harness:platform:ServiceNowConnector    get:      id: ${id}- 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
ServiceNow Connector Auth 
- The credentials to use for the service now authentication.
- DelegateSelectors 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.
- OrgId string
- Unique identifier of the organization.
- PasswordRef 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}.
- ProjectId string
- Unique identifier of the project.
- ServiceNow stringUrl 
- URL of service now.
- List<string>
- Tags to associate with the resource.
- Username string
- Username to use for authentication.
- UsernameRef 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
ServiceNow Connector Auth Args 
- The credentials to use for the service now authentication.
- DelegateSelectors []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.
- OrgId string
- Unique identifier of the organization.
- PasswordRef 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}.
- ProjectId string
- Unique identifier of the project.
- ServiceNow stringUrl 
- URL of service now.
- []string
- Tags to associate with the resource.
- Username string
- Username to use for authentication.
- UsernameRef 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
ServiceNow Connector Auth 
- The credentials to use for the service now authentication.
- delegateSelectors 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.
- orgId String
- Unique identifier of the organization.
- passwordRef 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}.
- projectId String
- Unique identifier of the project.
- serviceNow StringUrl 
- URL of service now.
- List<String>
- Tags to associate with the resource.
- username String
- Username to use for authentication.
- usernameRef 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
ServiceNow Connector Auth 
- The credentials to use for the service now authentication.
- delegateSelectors 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.
- orgId string
- Unique identifier of the organization.
- passwordRef 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}.
- projectId string
- Unique identifier of the project.
- serviceNow stringUrl 
- URL of service now.
- string[]
- Tags to associate with the resource.
- username string
- Username to use for authentication.
- usernameRef 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
ServiceNow 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.
- delegateSelectors 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.
- orgId String
- Unique identifier of the organization.
- passwordRef 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}.
- projectId String
- Unique identifier of the project.
- serviceNow StringUrl 
- URL of service now.
- List<String>
- Tags to associate with the resource.
- username String
- Username to use for authentication.
- usernameRef 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        
- AuthType string
- Authentication types for Jira connector
- Adfs
ServiceNow Connector Auth Adfs 
- Authenticate using adfs client credentials with certificate.
- RefreshToken ServiceNow Connector Auth Refresh Token 
- Authenticate using refresh token grant type.
- UsernamePassword ServiceNow Connector Auth Username Password 
- Authenticate using username password.
- AuthType string
- Authentication types for Jira connector
- Adfs
ServiceNow Connector Auth Adfs 
- Authenticate using adfs client credentials with certificate.
- RefreshToken ServiceNow Connector Auth Refresh Token 
- Authenticate using refresh token grant type.
- UsernamePassword ServiceNow Connector Auth Username Password 
- Authenticate using username password.
- authType String
- Authentication types for Jira connector
- adfs
ServiceNow Connector Auth Adfs 
- Authenticate using adfs client credentials with certificate.
- refreshToken ServiceNow Connector Auth Refresh Token 
- Authenticate using refresh token grant type.
- usernamePassword ServiceNow Connector Auth Username Password 
- Authenticate using username password.
- authType string
- Authentication types for Jira connector
- adfs
ServiceNow Connector Auth Adfs 
- Authenticate using adfs client credentials with certificate.
- refreshToken ServiceNow Connector Auth Refresh Token 
- Authenticate using refresh token grant type.
- usernamePassword ServiceNow Connector Auth Username Password 
- Authenticate using username password.
- auth_type str
- Authentication types for Jira connector
- adfs
ServiceNow 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.
- authType String
- Authentication types for Jira connector
- adfs Property Map
- Authenticate using adfs client credentials with certificate.
- refreshToken Property Map
- Authenticate using refresh token grant type.
- usernamePassword Property Map
- Authenticate using username password.
ServiceNowConnectorAuthAdfs, ServiceNowConnectorAuthAdfsArgs          
- AdfsUrl string
- asdf URL.
- CertificateRef 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}.
- ClientId 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}.
- PrivateKey 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}.
- ResourceId 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}.
- AdfsUrl string
- asdf URL.
- CertificateRef 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}.
- ClientId 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}.
- PrivateKey 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}.
- ResourceId 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}.
- adfsUrl String
- asdf URL.
- certificateRef 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}.
- clientId 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}.
- privateKey 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}.
- resourceId 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}.
- adfsUrl string
- asdf URL.
- certificateRef 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}.
- clientId 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}.
- privateKey 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}.
- resourceId 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}.
- adfsUrl String
- asdf URL.
- certificateRef 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}.
- clientId 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}.
- privateKey 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}.
- resourceId 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            
- ClientId 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}.
- RefreshToken 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}.
- TokenUrl string
- Token url to use for authentication.
- ClientSecret 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}.
- ClientId 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}.
- RefreshToken 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}.
- TokenUrl string
- Token url to use for authentication.
- ClientSecret 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}.
- clientId 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}.
- refreshToken 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}.
- tokenUrl String
- Token url to use for authentication.
- clientSecret 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}.
- clientId 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}.
- refreshToken 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}.
- tokenUrl string
- Token url to use for authentication.
- clientSecret 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}.
- clientId 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}.
- refreshToken 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}.
- tokenUrl String
- Token url to use for authentication.
- clientSecret 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            
- PasswordRef 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.
- UsernameRef 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}.
- PasswordRef 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.
- UsernameRef 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}.
- passwordRef 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.
- usernameRef 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}.
- passwordRef 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.
- usernameRef 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}.
- passwordRef 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.
- usernameRef 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 harnessTerraform Provider.
