|
1831 | 1831 | "resource-type": "service-account" |
1832 | 1832 | } |
1833 | 1833 | }, |
| 1834 | + "get": { |
| 1835 | + "description": "Get a Federated Identity Provider of the service account by its ID.", |
| 1836 | + "operationId": "GetFederatedIdentityProvider", |
| 1837 | + "responses": { |
| 1838 | + "200": { |
| 1839 | + "content": { |
| 1840 | + "application/json": { |
| 1841 | + "schema": { |
| 1842 | + "$ref": "#/components/schemas/FederatedIdentityProvider" |
| 1843 | + } |
| 1844 | + } |
| 1845 | + }, |
| 1846 | + "description": "OK" |
| 1847 | + }, |
| 1848 | + "400": { |
| 1849 | + "content": { |
| 1850 | + "application/json": { |
| 1851 | + "schema": { |
| 1852 | + "$ref": "#/components/schemas/Error" |
| 1853 | + } |
| 1854 | + } |
| 1855 | + }, |
| 1856 | + "description": "Bad request" |
| 1857 | + }, |
| 1858 | + "401": { |
| 1859 | + "content": { |
| 1860 | + "application/json": { |
| 1861 | + "schema": { |
| 1862 | + "$ref": "#/components/schemas/AuthError" |
| 1863 | + } |
| 1864 | + } |
| 1865 | + }, |
| 1866 | + "description": "Unauthorized" |
| 1867 | + }, |
| 1868 | + "403": { |
| 1869 | + "content": { |
| 1870 | + "application/json": { |
| 1871 | + "examples": { |
| 1872 | + "Forbidden Example": { |
| 1873 | + "value": { |
| 1874 | + "error": { |
| 1875 | + "code": 403, |
| 1876 | + "message": "The request could not be performed", |
| 1877 | + "status": "Forbidden" |
| 1878 | + } |
| 1879 | + } |
| 1880 | + } |
| 1881 | + }, |
| 1882 | + "schema": { |
| 1883 | + "$ref": "#/components/schemas/AuthError" |
| 1884 | + } |
| 1885 | + } |
| 1886 | + }, |
| 1887 | + "description": "Forbidden" |
| 1888 | + }, |
| 1889 | + "404": { |
| 1890 | + "content": { |
| 1891 | + "application/json": { |
| 1892 | + "schema": { |
| 1893 | + "$ref": "#/components/schemas/Error" |
| 1894 | + } |
| 1895 | + } |
| 1896 | + }, |
| 1897 | + "description": "Not Found" |
| 1898 | + }, |
| 1899 | + "500": { |
| 1900 | + "content": { |
| 1901 | + "application/json": { |
| 1902 | + "example": { |
| 1903 | + "error": "Internal Server Error", |
| 1904 | + "message": "An unexpected error occurred. Please try again later.", |
| 1905 | + "path": "/v1/your/endpoint", |
| 1906 | + "status": 500, |
| 1907 | + "timeStamp": "2025-08-07T12:34:56Z" |
| 1908 | + }, |
| 1909 | + "schema": { |
| 1910 | + "$ref": "#/components/schemas/Error" |
| 1911 | + } |
| 1912 | + } |
| 1913 | + }, |
| 1914 | + "description": "Internal Server Error" |
| 1915 | + } |
| 1916 | + }, |
| 1917 | + "summary": "Get a service account Federated Identity Provider", |
| 1918 | + "x-stackit-authorization": { |
| 1919 | + "actions": [ |
| 1920 | + "iam.service-account-federation.get" |
| 1921 | + ], |
| 1922 | + "resource-id": "serviceAccountEmail", |
| 1923 | + "resource-id-type": "dynamic", |
| 1924 | + "resource-type": "service-account" |
| 1925 | + } |
| 1926 | + }, |
1834 | 1927 | "parameters": [ |
1835 | 1928 | { |
1836 | 1929 | "description": "The ID of the project.", |
|
0 commit comments