Skip to main content
POST
CreateSCMCredential creates an SCM credential in the given namespace.

Path Parameters

tenant_meta.namespace
string
required

Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app".

Body

application/json

SCMCredential represents SCM org/repo credentials for private dependency resolution. Customers configure these credentials to allow endorctl to authenticate with private Git repositories during agentless or SCM-integrated scans, eliminating resolution failures for cross-org private dependencies.

meta
object
required

Common fields for all Endor Labs resources.

spec
object
required
tenant_meta
Namespaces are associated with a tenant. · object
required

Namespaces are associated with a tenant.

propagate
boolean

Propagate indicates that the object should be visible in child namespaces.

Response

A successful response.

SCMCredential represents SCM org/repo credentials for private dependency resolution. Customers configure these credentials to allow endorctl to authenticate with private Git repositories during agentless or SCM-integrated scans, eliminating resolution failures for cross-org private dependencies.

meta
object
required

Common fields for all Endor Labs resources.

spec
object
required
tenant_meta
object
required

Tenant related data for the tenant containing the resource.

propagate
boolean

Propagate indicates that the object should be visible in child namespaces.

uuid
string
read-only

The UUID of the SCM credential.