tencent cloud

Serverless Cloud Function

Release Notes and Announcements
Release Notes
Announcements
User Guide
Product Introduction
Overview
Related Concepts
How It Works
Strengths
Scenarios
Related Products
Purchase Guide
Billing Overview
Billing Mode
Billable Items and Billing Modes
Function Computing Power Support
Free Tier
SCF Pricing
Billing Example
Payment Overdue
Getting Started
Creating Event Function in Console
User Guide
Quota Management
Managing Functions
Web Function Management
Log Management
Concurrence Management
Trigger Management
Function URL
A Custom Domain Name
Version Management
Alias Management
Permission Management
Running Instance Management
Plugin Management
Managing Monitors and Alarms
Network Configuration
Layer Management
Execution Configuration
Extended Storage Management
DNS Caching Configuration
Resource Managed Mode Management
Near-Offline Resource Hosting Model
Workflow
Triggers
Trigger Overview
Trigger Event Message Structure Summary
API Gateway Trigger
COS Trigger
CLS Trigger
Timer Trigger
CKafka Trigger
Apache Kafka Trigger
MQTT Trigger
Trigger Configuration Description
MPS Trigger
CLB Trigger Description
TencentCloud API Trigger
Development Guide
Basic Concepts
Testing a Function
Environment Variables
Dependency Installation
Using Container Image
Error Types and Retry Policies
Dead Letter Queue
Connecting SCF to Database
Automated Deployment
Cloud Function Status Code
Common Errors and Solutions
Developer Tools
Serverless Web IDE
Calling SDK Across Functions
Third-Party Tools
Code Development
Python
Node.js
Golang
PHP
Java
Custom Runtime
Deploying Image as Function
Web Framework Development
Deploying Framework on Command Line
Quickly Deploying Egg Framework
Quickly Deploying Express Framework
Quickly Deploying Flask Framework
Quickly Deploying Koa Framework
Quickly Deploying Laravel Framework
Quickly Deploying Nest.js Framework
Quickly Deploying Next.js Framework
Quickly Deploying Nuxt.js Framework
Quickly Deploying Django Framework
Use Cases
Overview
Solutions with Tencent Cloud Services
Business Development
TRTC Practices
COS Practices
CKafka Practice
CLS
CLB Practice
MPS
CDN
CDWPG
VOD
SMS
ES
Scheduled Task
Video Processing
Success Stories
Tencent Online Education
Online Video Industry
Tencent Online Education
Best Practice of Tencent IEG Going Global
API Documentation
History
Introduction
API Category
Making API Requests
Other APIs
Namespace APIs
Layer Management APIs
Async Event Management APIs
Trigger APIs
Function APIs
Function and Layer Status Description
Data Types
Error Codes
SDK Documentation
FAQs
General
Web Function
Billing FAQs
Network FAQs
Log FAQs
SCF utility class
Event Handling FAQs
API Gateway Trigger FAQs
Related Agreement
Service Level Agreement
Contact Us
Glossary

Key Management

PDF
Modo Foco
Tamanho da Fonte
Última atualização: 2025-12-15 10:54:58
Key management supports configuring image repository keys, Cloud Object Storage (COS) storage keys, function invocation keys, and custom keys.

Operation Steps

1. Log in to the Serverless Cloud Function (SCF) console. In the left sidebar, choose Data Engineering > Workflow.
2. On the Workflow page, click the service name to go to the workflow details page.
3. Select the Key Management tab and click Add Key, as shown in the following figure:

4. In the Add Key window, select the desired key type and add it.


Image Repository Keys

Use Cases

To access a private image resource in the workflow YAML file, you need to configure long-term access credentials with image pull permissions here and declare the image repository key name in the YAML file. To enable long-term access credentials, see Managing User Accounts.
During workflow runtime, the platform pulls images using the declared key information and credentials.
When you use an image repository of the personal edition, cross-region access is supported.
When you use an image repository of the enterprise edition, if you need to pull images across regions, you can use either of the following methods:
Enable public network access for the image repository: Configuring Public Network Access Control.
Establish network connectivity between the image repository and the service cluster network: Using Custom Domain Name and CCN to Implement Cross-Region Private Network Access.

Parameter Description


Key type: Select Image Repository Key.
Key name: Enter a custom key name. The name must be unique within the same workflow service.
Image repository domain: Domain name of the target image repository.
Username: Automatically generated username in the permanent access credential of the image.
Key: Automatically generated password in the permanent access credential of the image.

COS Storage Key

Use Cases

To mount a COS bucket for read or write operations in the workflow YAML file, you can configure API key information with the corresponding operation permissions here. This key will be used to create the COS bucket later.

Parameter Description


Key type: Select COS Storage Key.
Key name: Enter a custom key name. The name must be unique within the same workflow service.
SecretId: API SecretId.
SecretKey: API SecretKey.

Function Invocation Key

Use Cases

To directly orchestrate function resources or trigger a function execution in the workflow YAML file, you can configure an API key with the permissions described in the following figure and declare its use in the YAML file.

Parameter Description


Key type: Select Function Invocation Key.
TenantName: Key name for accessing SCF. TenantName is used as the Tenant parameter for invoking functions in the YAML file.
TenantId: SecretId.
TenantKey: SecretKey.

Custom Key

Use Cases

To access cloud resources such as MySQL in the workflow YAML file, you can declare access information using a custom key and then declare the key name in the YAML file.

Parameter Description


Key type: Select Custom Key.
Key name: Enter a custom key name. The name must be unique within the same workflow service.
Key content: Enter content in the format of Variable name - Variable value, as Key - Value pairs.

Ajuda e Suporte

Esta página foi útil?

comentários