Contents

CloudKit.ContainerConfig

A configuration for a container.

Declaration

dictionary CloudKit.ContainerConfig {
	String containerIdentifier;
	String environment;
	String apnsEnvironment;
	Object apiTokenAuth;
	Object serverToServerKeyAuth;
};

Overview

This table describes apiTokenAuth properties.

Property

Description

apiToken

The API token generated and obtained using CloudKit Dashboard. To create an API token, read TP40015240 CH24 SW2 in TP40015240.

persist

Boolean value indicating whether the CloudKit session token persists. The default value is false.

signInButton

The sign-in button to display to the user. The properties are: [Image] id: The DOM element ID. The default value is apple-sign-in-button. [Image] theme: The button theme. The default value is medium. [Image] If null, uses the default property values.

signOutButton

The sign-out button to display to the user. The properties are: [Image] id: The DOM element ID. The default value is apple-sign-out-button. [Image] theme: The button theme. The default value is medium. [Image] If null, uses the default property values.

This table describes serverToServerKeyAuth properties.

Property

Description

keyID

A unique identifier for the key generated using CloudKit Dashboard. To create this key, read TP40015240 CH24 SW6 in TP40015240.

privateKeyFile

The path to the PEM encoded key file.

privateKeyPassPhrase

The pass phrase for the key.

Topics

Instance Properties

See Also

Structures