Issuer CA Create - Google CA

Payload

Name Description
kubeCaSettingName

String

Unique name to identify the KUBE CA setting configuration.
clusterPolicy

String

Cluster policy to which the cluster is associated to
caAccount

String

Account associated with the CA.
certificateProfile

String

Type of certificate.

Possible Values: Server, Client

validityUnit

String

Validity of the certificate.

Possible Values: Days, Months, Years

casetting_type

String

Type of the CA setting type.

Possible Values: CA Setting, CA Setting Cluster

groupName

String

Name of group where certificate might be pushed to after creation.
certificateAuthority

String

Name of the Certificate Authority being configured.

Possible Values: Google

google_issuerLocation

String

Issuer location of the Google.
google_issuerName

String

Issuer name of the Google.
google_poolName

String

Pool name of the Google.
google_certificateProfile

String

Certificate profile of the Google.

Response Structure

  • Status Code: 200 OK
  • Message: Successful
  • Headers:
    • Content-Type: application/json
Name Description
response

String

Issuer CA created successfully
message

String

Success message or failure description in case of error.
appStatusCode

String

Application specific status code for the response. Will be non-null for failure response.
tags More info in case of failure response.

Sample Request/Response

Use case: Create an issuer CA for Google CA.
Request URL

https://<IP/HostName/TenantName>:<GWPORT>/avxapi/execute-hook?gwsource=external

Sample Request
POST Content type: application/json Username: <> Password: <>
{
    "payload": {
        "hook": {
            "name": "Kube CA Settings"
        },
        "input": {
            "action": "add",
            "payload": {
                "kubeCaSettingName": "my_ca_setting",
                "clusterPolicy": "my_policy",
                "caAccount": "my_ca_account",
                "certificateProfile": "Server",
                "casetting_type": "CA Setting",
                "groupName": "my_group",
                "certificateAuthority": "Google",
                "google_issuerLocation": "my_issuer_location",
                "google_issuerName": "my_issuer_name",
                "google_poolName": "my_pool_name",
                "google_certificateProfile": "my_certificate_profile"
            }
        }
    }
}
Sample Response
{
    "response": {
        "status": "Success",
        "output": {
            "status": "Success",
            "response": "Issuer CA created successfully"
        },
        "type": "script"
    },
    "message": null,
    "appStatusCode": null,
    "tags": null,
    "headers": null
}

Reference

Understanding the sample URL:
  • IP/HostName/TenantName: Replace with the actual IP address, hostname, or tenant name based on the specific configuration in AppViewX.
    • IP: A unique identifier assigned to each device connected to a computer network that uses the Internet Protocol for communication

      The IP address will be included in the endpoint URL for an on-prem deployment.

    • HostName: A human-readable label assigned to a device (host) on a network

      The hostname will be included in the endpoint URL for an on-prem deployment.

    • TenantName: An identifier label for a tenant given to indicate which tenant's data the API request will access/modify

      The tenant name will be included in the endpoint URL for a SaaS deployment.

  • GWPORT: AppViewX gateway port

    A gateway port refers to a network port through which data is sent and received to communicate with a gateway in an on-prem deployment.

    Example: 31443

  • avxapi: Path parameter value (static) that is part of the endpoint's URL
  • Endpoint: Endpoint of the API, for example: execute-hook
  • gwsource: Source or origin of a gateway, for example: external.