# feign-security
**Repository Path**: opensource4clive/feign-security
## Basic Information
- **Project Name**: feign-security
- **Description**: Feign安全框架,适用于Feign接口的加解密,调用和被调用方无感知
- **Primary Language**: Java
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2026-05-18
- **Last Updated**: 2026-05-18
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# feign-security
## 介绍
Feign安全框架,适用于Feign接口的加解密,调用和被调用方无感知
## 使用方式
### 服务提供方
```xml
com.gitee.opensource4clive
feign-security
1.0.0
```
```yaml
spring:
application:
name: your-app-name
```
定义需要进行安全管控的接口路径
```yaml
# Feign 安全加密配置
feign:
security:
enabled: true
public-key: your-public-key
private-key: your-private-key
timestamp-tolerance-ms: 300000
include-paths:
- /api/xxx/**
```
### 服务消费方
```xml
org.springframework.cloud
spring-cloud-starter-openfeign
2.2.6.RELEASE
com.gitee.opensource4clive
feign-security
1.0.0
```
```yaml
# Feign 安全加密配置
feign:
security:
enabled: true
public-key: your-public-key
private-key: your-private-key
url:
xxx: http://localhost:8360
```