OciAuth type
How Norsk authenticates to OCI Object Storage — for a media-store MediaStoreOciRemoteStore or an OciPushDestinationSettings. instancePrincipal runs as the OCI instance Norsk is on (put the instance in a dynamic group with a policy such as Allow dynamic-group <g> to manage objects in compartment <c>; nothing to configure here). configFile reads the standard ~/.oci/config used by the oci CLI / Oracle SDKs. apiKey supplies user API-key material directly.
Signature:
export type OciAuth = {
type: "instancePrincipal";
} | {
type: "configFile";
path?: string;
profile?: string;
} | {
type: "apiKey";
tenancyId: string;
userId: string;
fingerprint: string;
privateKeyPem: string;
passphrase?: string;
};