GithubHelp home page GithubHelp logo

sleepw4lker / tamemycerts.rest Goto Github PK

View Code? Open in Web Editor NEW
18.0 4.0 0.0 989 KB

REST API for Microsoft Active Directory Certificate Services

License: Apache License 2.0

C# 95.00% PowerShell 5.00%
adcs certificate-authority certificate-renewal certificate-request csr pki rest-api x509 x509certificates

tamemycerts.rest's People

Contributors

sleepw4lker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

tamemycerts.rest's Issues

Cert-manager

Hello, we would like to start using cert-manager to request certificates. Is there more information available somewhere on how we should configure cert-manager?

Forbid method expects authentication scheme

Hi,

I tried to get information for a template without having enroll permission. In this case a 500 server error is returned. It seems that the Forbid method (https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.mvc.controllerbase.forbid?view=aspnetcore-8.0) expects an authentication scheme and does not accept an error message (without special handling).

image

Maybe it is possible to switch the response to Unauthorized. Then the RestAPI remains clean and simple.

Kind regards
Konstantin

Just a few questions and enhancements for your REST API

This is a very clean API. Good job! Just a few thoughts from my side:

  1. In general it could be an idea to pass information for encodings via header, not query parameter. This could be done via Content-Type- and Accept-Headers. Maybe a custom type should be added.

  2. requestAttributes:

    <param name="requestAttributes">

    As a user I've no clue which optional attributes are allowed.

  3. TimeSpan:

    <member name="P:TameMyCerts.NetCore.Common.Models.CertificateTemplate.ValidityPeriod">

    In Swagger-UI this is rendered as TimeSpan. This is implementation specific. At level of API this should be a date formatted as ISO 8601 or similar.

  4. What's the difference between a certificate authority certificate and it's exchange certificate?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.