computing / Client / describe_ssl_certificate_attribute

describe_ssl_certificate_attribute

computing.Client.describe_ssl_certificate_attribute(**kwargs)

指定したSSL証明書の詳細情報を取得します。1回のリクエストで、1つのSSL証明書の1つの詳細情報を取得できます。

SSL証明書を指定するためには、SSL証明書の発行識別子(fqdnId)が必要です。

See also: NIFCLOUD API Documentation

Request Syntax

response = client.describe_ssl_certificate_attribute(
    Attribute='certAuthority'|'count'|'certState'|'period'|'validityTerm'|'keyLength'|'uploadState'|'description'|'certInfo'|'caState',
    FqdnId='string'
)
Parameters:
  • Attribute (string) –

  • FqdnId (string) – [REQUIRED]

Return type:

dict

Returns:

Response Syntax

{
    'CaState': {
        'Value': True|False
    },
    'CertAuthority': {
        'Value': 'string'
    },
    'CertInfo': {
        'CountryName': 'string',
        'EmailAddress': 'string',
        'LocationName': 'string',
        'OrganizationName': 'string',
        'OrganizationUnitName': 'string',
        'StateName': 'string'
    },
    'CertState': {
        'Value': 'string'
    },
    'Count': {
        'Value': 123
    },
    'Description': {
        'Value': 'string'
    },
    'Fqdn': 'string',
    'FqdnId': 'string',
    'KeyLength': {
        'Value': 123
    },
    'Period': {
        'EndDate': datetime(2015, 1, 1),
        'StartDate': datetime(2015, 1, 1),
        'ValidityTerm': 123
    },
    'RequestId': 'string',
    'UploadState': {
        'Value': True|False
    }
}

Response Structure

  • (dict) –

    • CaState (dict) –

      • Value (boolean) –

    • CertAuthority (dict) –

      • Value (string) –

    • CertInfo (dict) –

      • CountryName (string) –

      • EmailAddress (string) –

      • LocationName (string) –

      • OrganizationName (string) –

      • OrganizationUnitName (string) –

      • StateName (string) –

    • CertState (dict) –

      • Value (string) –

    • Count (dict) –

      • Value (integer) –

    • Description (dict) –

      • Value (string) –

    • Fqdn (string) –

    • FqdnId (string) –

    • KeyLength (dict) –

      • Value (integer) –

    • Period (dict) –

      • EndDate (datetime) –

      • StartDate (datetime) –

      • ValidityTerm (integer) –

    • RequestId (string) –

    • UploadState (dict) –

      • Value (boolean) –